ACM - removed references to MaxSonar LV sonar
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3236 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
96c02ba974
commit
28908ee933
@ -225,10 +225,8 @@ ModeFilter sonar_mode_filter;
|
||||
|
||||
#if SONAR_TYPE == MAX_SONAR_XL
|
||||
AP_RangeFinder_MaxsonarXL sonar(&adc, &sonar_mode_filter);//(SONAR_PORT, &adc);
|
||||
#elif SONAR_TYPE == MAX_SONAR_LV
|
||||
// XXX honestly I think these output the same values
|
||||
// If someone knows, can they confirm it?
|
||||
AP_RangeFinder_MaxsonarXL sonar(&adc, &sonar_mode_filter);//(SONAR_PORT, &adc);
|
||||
#else
|
||||
#error Unrecognised SONAR_TYPE setting.
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -62,9 +62,8 @@
|
||||
#define GPS_PROTOCOL_AUTO 7
|
||||
|
||||
// SONAR types:
|
||||
|
||||
#define MAX_SONAR_XL 0
|
||||
#define MAX_SONAR_LV 1
|
||||
#define MAX_SONAR_UNKNOWN 0
|
||||
#define MAX_SONAR_XL 1
|
||||
|
||||
// Radio channels
|
||||
// Note channels are from 0!
|
||||
|
Loading…
Reference in New Issue
Block a user