File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -506,14 +506,6 @@ static bool detectBaro(baroSensor_e baroHardwareToUse)
506
506
case BARO_DEFAULT :
507
507
; // fallthough
508
508
509
- case BARO_MS5611 :
510
- #ifdef USE_BARO_MS5611
511
- if (ms5611Detect (& baro )) {
512
- baroHardware = BARO_MS5611 ;
513
- break ;
514
- }
515
- #endif
516
- ; // fallthough
517
509
case BARO_BMP085 :
518
510
#ifdef USE_BARO_BMP085
519
511
if (bmp085Detect (bmp085Config , & baro )) {
@@ -522,6 +514,14 @@ static bool detectBaro(baroSensor_e baroHardwareToUse)
522
514
}
523
515
#endif
524
516
; // fallthough
517
+ case BARO_MS5611 :
518
+ #ifdef USE_BARO_MS5611
519
+ if (ms5611Detect (& baro )) {
520
+ baroHardware = BARO_MS5611 ;
521
+ break ;
522
+ }
523
+ #endif
524
+ ; // fallthough
525
525
case BARO_BMP280 :
526
526
#ifdef USE_BARO_BMP280
527
527
if (bmp280Detect (& baro )) {
You can’t perform that action at this time.
0 commit comments