Browse Source

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

mission-4.1.18
uncrustify 13 years ago committed by Pat Hickey
parent
commit
5abb025c9e
  1. 12
      libraries/AP_RangeFinder/examples/AP_RangeFinder_test/AP_RangeFinder_test.pde

12
libraries/AP_RangeFinder/examples/AP_RangeFinder_test/AP_RangeFinder_test.pde

@ -1,7 +1,7 @@ @@ -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); @@ -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

Loading…
Cancel
Save