Skip to content

Commit 685eed6

Browse files
imu: revert commit b62bbfc
This commit essentially reverts the changes made in b62bbfc. That is, it removes some Accelerometer data sampling rates which we don't support in the mode that we are using the Accelerometer Signed-off-by: Dan O'Donovan <dan@emutex.com>
1 parent 7d930a5 commit 685eed6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

libraries/CurieImu/src/BMI160.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,7 @@ typedef enum {
318318
* @see setAccelRate()
319319
*/
320320
typedef enum {
321-
BMI160_ACCEL_RATE_25_32HZ = 1, /**< 25/32 Hz */
322-
BMI160_ACCEL_RATE_25_16HZ, /**< 25/16 Hz */
323-
BMI160_ACCEL_RATE_25_8HZ, /**< 25/8 Hz */
324-
BMI160_ACCEL_RATE_25_4HZ, /**< 25/4 Hz */
325-
BMI160_ACCEL_RATE_25_2HZ, /**< 25/2 Hz */
321+
BMI160_ACCEL_RATE_25_2HZ = 5, /**< 25/2 Hz */
326322
BMI160_ACCEL_RATE_25HZ, /**< 25 Hz */
327323
BMI160_ACCEL_RATE_50HZ, /**< 50 Hz */
328324
BMI160_ACCEL_RATE_100HZ, /**< 100 Hz */

0 commit comments

Comments
 (0)