mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
HAL_AVR: initialise settle time
This commit is contained in:
parent
e7a6b12ac1
commit
912ed2c97c
@ -16,6 +16,8 @@ ADCSource::ADCSource(uint8_t pin, float prescale) :
|
|||||||
_stop_pin(ANALOG_INPUT_NONE),
|
_stop_pin(ANALOG_INPUT_NONE),
|
||||||
_sum_count(0),
|
_sum_count(0),
|
||||||
_sum(0),
|
_sum(0),
|
||||||
|
_settle_time_ms(0),
|
||||||
|
_last_average(0),
|
||||||
_prescale(prescale)
|
_prescale(prescale)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user