mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
AP_Airspeed: fixed some warnings
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user