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 2553b1a90f
commit 88c2f56617
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 #if SONAR_TYPE == MAX_SONAR_XL
AP_RangeFinder_MaxsonarXL sonar(&adc, &sonar_mode_filter);//(SONAR_PORT, &adc); AP_RangeFinder_MaxsonarXL sonar(&adc, &sonar_mode_filter);//(SONAR_PORT, &adc);
#elif SONAR_TYPE == MAX_SONAR_LV #else
// XXX honestly I think these output the same values #error Unrecognised SONAR_TYPE setting.
// If someone knows, can they confirm it?
AP_RangeFinder_MaxsonarXL sonar(&adc, &sonar_mode_filter);//(SONAR_PORT, &adc);
#endif #endif
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////

View File

@ -62,9 +62,8 @@
#define GPS_PROTOCOL_AUTO 7 #define GPS_PROTOCOL_AUTO 7
// SONAR types: // SONAR types:
#define MAX_SONAR_UNKNOWN 0
#define MAX_SONAR_XL 0 #define MAX_SONAR_XL 1
#define MAX_SONAR_LV 1
// Radio channels // Radio channels
// Note channels are from 0! // Note channels are from 0!