diff --git a/src/main/drivers/accgyro/accgyro_spi_mpu6000.c b/src/main/drivers/accgyro/accgyro_spi_mpu6000.c index b16ab6f11d..308be55b53 100644 --- a/src/main/drivers/accgyro/accgyro_spi_mpu6000.c +++ b/src/main/drivers/accgyro/accgyro_spi_mpu6000.c @@ -78,9 +78,9 @@ static void mpu6000AccAndGyroInit(gyroDev_t *gyro); #define BIT_RAW_RDY_EN 0x01 #define BIT_I2C_IF_DIS 0x10 #define BIT_INT_STATUS_DATA 0x01 -#define BIT_GYRO 3 -#define BIT_ACC 2 -#define BIT_TEMP 1 +#define BIT_GYRO 0x04 +#define BIT_ACC 0x02 +#define BIT_TEMP 0x01 // Product ID Description for MPU6000 // high 4 bits low 4 bits @@ -195,7 +195,7 @@ static void mpu6000AccAndGyroInit(gyroDev_t *gyro) spiBusWriteRegister(&gyro->bus, MPU_RA_SMPLRT_DIV, gyro->mpuDividerDrops); delayMicroseconds(15); - // Gyro +/- 1000 DPS Full Scale + // Gyro +/- 2000 DPS Full Scale spiBusWriteRegister(&gyro->bus, MPU_RA_GYRO_CONFIG, INV_FSR_2000DPS << 3); delayMicroseconds(15);