mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 22:18:28 -04:00
AP_ADC: Console output can be disabled
This commit is contained in:
parent
fd9bb4c3d2
commit
7eda7d757a
@ -192,7 +192,7 @@ float AP_ADC_ADS1115::_convert_register_data_to_mv(int16_t word) const
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
pga = 0.0f;
|
pga = 0.0f;
|
||||||
hal.console->printf("Wrong gain");
|
DEV_PRINTF("Wrong gain");
|
||||||
AP_HAL::panic("ADS1115: wrong gain selected");
|
AP_HAL::panic("ADS1115: wrong gain selected");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user