AP_Compass: correct compiler warnings

In file included from ../../libraries/AP_Compass/AP_Compass.h:14:
../../libraries/AP_Compass/Compass_PerMotor.h:57:13: warning: private
field 'channel' is not used [-Wunused-private-field]
    uint8_t channel;

AP_Compass: fix compiler warning

../../libraries/AP_Compass/AP_Compass_MAG3110.h:52:11: warning: private
field 'compass_len' is not used [-Wunused-private-field]
    float compass_len;
          ^
This commit is contained in:
Peter Barker 2018-02-28 15:44:04 +11:00 committed by Randy Mackay
parent c93aea24c6
commit 46dbb248f9
2 changed files with 0 additions and 4 deletions

View File

@ -49,5 +49,4 @@ private:
uint8_t _compass_instance;
bool _initialised;
float compass_len;
};

View File

@ -53,9 +53,6 @@ private:
// battery voltage
float voltage;
// what rcout channel is being calibrated
uint8_t channel;
// is calibration running?
bool running;