Skip to content

Commit

Permalink
BMI270 - emptyline cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Oct 31, 2023
1 parent b5ac87a commit dd6f3c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/drivers/accgyro/gyro_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ uint32_t gyroSetSampleRate(gyroDev_t *gyro, uint8_t lpf, uint8_t gyroSyncDenomin
gyro->mpuDividerDrops = gyroSyncDenominator - 1;
gyro->gyroRateKHz = lpfNoneOr256 ? GYRO_RATE_8_kHz : GYRO_RATE_1_kHz;



switch (gyro->mpuDetectionResult.sensor) {
case ICM_20649_SPI: //20649 is a weird gyro
gyro->gyroRateKHz = lpfNoneOr256 ? GYRO_RATE_9_kHz : GYRO_RATE_1100_Hz;
Expand Down

0 comments on commit dd6f3c3

Please sign in to comment.