mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 10:03:34 +08:00
BMI055: Correct boot instructions, better default to 16g
This commit is contained in:
@@ -226,7 +226,7 @@
|
||||
#define BMI055_SOFT_RESET 0xB6
|
||||
|
||||
// Default and Max values
|
||||
#define BMI055_ACCEL_DEFAULT_RANGE_G 8
|
||||
#define BMI055_ACCEL_DEFAULT_RANGE_G 16
|
||||
#define BMI055_GYRO_DEFAULT_RANGE_DPS 2000
|
||||
#define BMI055_ACCEL_DEFAULT_RATE 1000
|
||||
#define BMI055_ACCEL_MAX_RATE 1000
|
||||
|
||||
@@ -539,7 +539,7 @@ bmi055_main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 'R':
|
||||
rotation = (enum Rotation)atoi(optarg);
|
||||
rotation = (enum Rotation)atoi(myoptarg);
|
||||
break;
|
||||
|
||||
case 'A':
|
||||
|
||||
Reference in New Issue
Block a user