Skip to content

Commit

Permalink
#177 Corrected compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed Jan 4, 2017
1 parent 0d4ba39 commit 650a47b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/hal/src/sensors_bosch.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
#define SENSORS_BMI055_1G_PER_LSB_CFG (2.0f * 8.0f / (4096))
#define SENSORS_BMI055_1G_IN_LSB (int16_t)(1.0f / SENSORS_BMI055_1G_PER_LSB_CFG)

#define SENSORS_VARIANCE_MAN_TEST_TIMEOUT M2T(1000) // Timeout in ms#define SENSORS_MAN_TEST_LEVEL_MAX 5.0f // Max degrees off#define GYRO_NBR_OF_AXES 3
#define SENSORS_VARIANCE_MAN_TEST_TIMEOUT M2T(1000) // Timeout in ms
#define SENSORS_MAN_TEST_LEVEL_MAX 5.0f // Max degrees off

#define GYRO_NBR_OF_AXES 3
#define GYRO_MIN_BIAS_TIMEOUT_MS M2T(1*1000)

#define SENSORS_TAKE_ACCEL_BIAS
Expand Down Expand Up @@ -566,6 +569,9 @@ bool sensorsIsCalibrated(void)
status &= accelBiasBmi055.isBiasValueFound;
#endif
break;
default:
status = false;
break;
}

return status;
Expand Down

0 comments on commit 650a47b

Please sign in to comment.