BMI055: Correct boot instructions, better default to 16g

This commit is contained in:
Lorenz Meier
2017-04-24 10:38:39 +02:00
parent 3affe67c96
commit 145513ff28
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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':