mirror of https://github.com/ArduPilot/ardupilot
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:
parent
c93aea24c6
commit
46dbb248f9
|
@ -49,5 +49,4 @@ private:
|
|||
|
||||
uint8_t _compass_instance;
|
||||
bool _initialised;
|
||||
float compass_len;
|
||||
};
|
||||
|
|
|
@ -53,9 +53,6 @@ private:
|
|||
// battery voltage
|
||||
float voltage;
|
||||
|
||||
// what rcout channel is being calibrated
|
||||
uint8_t channel;
|
||||
|
||||
// is calibration running?
|
||||
bool running;
|
||||
|
||||
|
|
Loading…
Reference in New Issue