Skip to content

Commit bd6073b

Browse files
authored
Merge pull request #6 from esp-idf-lib/fix_gyro_range
fix: fix gyroscope range values
2 parents 3379983 + 35449f1 commit bd6073b

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.eil.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: bmi160
33
description: Driver for BMI160 ultra-small, low power, low noise 16 bit IMU
4-
version: 1.0.3
4+
version: 1.0.4
55
groups:
66
- imu
77
code_owners:
@@ -10,7 +10,7 @@ depends:
1010
- i2cdev
1111
- log
1212
- esp_idf_lib_helpers
13-
thread_safe: n/a
13+
thread_safe: no
1414
targets:
1515
- esp32
1616
- esp32c2

idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 1.0.3
1+
version: 1.0.4
22
description: Driver for BMI160 ultra-small, low power, low noise 16 bit IMU
33
license: ISC
44
targets:

include/bmi160.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ typedef enum
6363
*/
6464
typedef enum
6565
{
66-
BMI160_GYR_RANGE_125DPS = 0x02u, ///< +-125dps
67-
BMI160_GYR_RANGE_250DPS = 0x00u, ///< +-250dps
68-
BMI160_GYR_RANGE_500DPS = 0x04u, ///< +-500dps
69-
BMI160_GYR_RANGE_1000DPS = 0x06u, ///< +-1000dps
70-
BMI160_GYR_RANGE_2000DPS = 0x08u ///< +-2000dps
66+
BMI160_GYR_RANGE_2000DPS = 0x00u, ///< +-2000dps
67+
BMI160_GYR_RANGE_1000DPS = 0x01u, ///< +-1000dps
68+
BMI160_GYR_RANGE_500DPS = 0x02u, ///< +-500dps
69+
BMI160_GYR_RANGE_250DPS = 0x03u, ///< +-250dps
70+
BMI160_GYR_RANGE_125DPS = 0x04u ///< +-125dps
7171
} bmi160_gyr_range_t;
7272

7373
/**

0 commit comments

Comments
 (0)