mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 17:25:18 +03:00
Sensor switch statement whitespace fixup
This commit is contained in:
parent
4cc8be7473
commit
32786b318d
4 changed files with 204 additions and 206 deletions
|
@ -199,7 +199,6 @@ retry:
|
|||
case ACC_NONE: // disable ACC
|
||||
accHardware = ACC_NONE;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
// Found anything? Check if error or ACC is really missing.
|
||||
|
|
|
@ -60,7 +60,6 @@ bool baroDetect(baroDev_t *dev, baroSensor_e baroHardwareToUse)
|
|||
requestedSensors[SENSOR_INDEX_BARO] = baroHardwareToUse;
|
||||
|
||||
#ifdef USE_BARO_BMP085
|
||||
|
||||
const bmp085Config_t *bmp085Config = NULL;
|
||||
|
||||
#if defined(BARO_XCLR_GPIO) && defined(BARO_EOC_GPIO)
|
||||
|
|
|
@ -168,7 +168,7 @@ static bool gyroDetect(gyroDev_t *dev, const extiConfig_t *extiConfig)
|
|||
#endif
|
||||
; // fallthrough
|
||||
|
||||
case GYRO_MPU9250:
|
||||
case GYRO_MPU9250:
|
||||
#ifdef USE_GYRO_SPI_MPU9250
|
||||
if (mpu9250SpiGyroDetect(dev))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue