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:
rmackay9@yahoo.com 2011-09-04 06:53:40 +00:00
parent 96c02ba974
commit 28908ee933
2 changed files with 4 additions and 7 deletions

View File

@ -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
////////////////////////////////////////////////////////////////////////////////

View File

@ -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!