We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b67165e + 9a7de34 commit 6fddd16Copy full SHA for 6fddd16
src/main/drivers/accgyro/accgyro_bmi270.c
@@ -214,7 +214,7 @@ static void bmi270AccAndGyroInit(gyroDev_t *gyro)
214
delay(1);
215
216
// Configure the accelerometer full-scale range
217
- busWrite(busDev, BMI270_REG_ACC_RANGE, BMI270_ACC_RANGE_8G);
+ busWrite(busDev, BMI270_REG_ACC_RANGE, BMI270_ACC_RANGE_16G);
218
219
220
// Configure the gyro
@@ -301,7 +301,7 @@ static void bmi270GyroInit(gyroDev_t *gyro)
301
static void bmi270AccInit(accDev_t *acc)
302
{
303
// sensor is configured during gyro init
304
- acc->acc_1G = 4096; // 8G sensor scale
+ acc->acc_1G = 2048; // 16G sensor scale
305
}
306
307
bool bmi270AccDetect(accDev_t *acc)
0 commit comments