mirror of https://github.com/ArduPilot/ardupilot
AP_Airspeed: fixed some warnings
This commit is contained in:
parent
eef693f243
commit
e60d5d4f33
|
@ -136,7 +136,6 @@ void AP_Airspeed::calibrate()
|
|||
{
|
||||
float sum = 0;
|
||||
uint8_t count = 0;
|
||||
uint8_t c;
|
||||
if (!_enable) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -42,9 +42,9 @@ public:
|
|||
// constructor
|
||||
AP_Airspeed(const AP_Vehicle::FixedWing &parms) :
|
||||
_EAS2TAS(1.0f),
|
||||
_healthy(false),
|
||||
_calibration(parms),
|
||||
analog(_pin),
|
||||
_healthy(false)
|
||||
analog(_pin)
|
||||
{
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue