mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_RangeFinder - changed example sketch to work with new Filter library
This commit is contained in:
parent
033347f8ee
commit
2b6a10d18b
@ -32,7 +32,7 @@ FastSerialPort0(Serial); // FTDI/console
|
||||
|
||||
// declare global instances
|
||||
Arduino_Mega_ISR_Registry isr_registry;
|
||||
ModeFilterInt16 mode_filter(5,2);
|
||||
ModeFilterInt16_Size5 mode_filter(2);
|
||||
#ifdef USE_ADC_ADS7844
|
||||
AP_TimerProcess adc_scheduler;
|
||||
AP_ADC_ADS7844 adc;
|
||||
|
Loading…
Reference in New Issue
Block a user