mirror of https://github.com/ArduPilot/ardupilot
ArduPlane - switch sonar to use new mode filter from filter library
This commit is contained in:
parent
69132e0fe7
commit
21d7a77009
|
@ -224,7 +224,7 @@ GCS_MAVLINK gcs3;
|
||||||
// PITOT selection
|
// PITOT selection
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
//
|
||||||
ModeFilter sonar_mode_filter;
|
ModeFilterInt16 sonar_mode_filter(5,2);
|
||||||
|
|
||||||
#if CONFIG_PITOT_SOURCE == PITOT_SOURCE_ADC
|
#if CONFIG_PITOT_SOURCE == PITOT_SOURCE_ADC
|
||||||
AP_AnalogSource_ADC pitot_analog_source( &adc,
|
AP_AnalogSource_ADC pitot_analog_source( &adc,
|
||||||
|
|
Loading…
Reference in New Issue