uncrustify libraries/AP_RangeFinder/examples/AP_RangeFinder_test/AP_RangeFinder_test.pde

This commit is contained in:
uncrustify 2012-08-16 23:21:04 -07:00 committed by Pat Hickey
parent 322a1d8090
commit cf00a21e28
1 changed files with 12 additions and 12 deletions

View File

@ -1,7 +1,7 @@
/*
AP_RangeFinder_test
Code by DIYDrones.com
*/
* AP_RangeFinder_test
* Code by DIYDrones.com
*/
// includes
#include <FastSerial.h>
@ -36,10 +36,10 @@ ModeFilterInt16_Size5 mode_filter(2);
AP_TimerProcess timer_scheduler;
#ifdef USE_ADC_ADS7844
AP_ADC_ADS7844 adc;
AP_AnalogSource_ADC adc_source(&adc, AP_RANGEFINDER_PITOT_TYPE_ADC_CHANNEL, 0.25); // use Pitot tube
AP_ADC_ADS7844 adc;
AP_AnalogSource_ADC adc_source(&adc, AP_RANGEFINDER_PITOT_TYPE_ADC_CHANNEL, 0.25); // use Pitot tube
#else
AP_AnalogSource_Arduino adc_source(A0); // use AN0 analog pin for APM2 on left
AP_AnalogSource_Arduino adc_source(A0); // use AN0 analog pin for APM2 on left
#endif
// create the range finder object