Browse Source

AP_Airspeed: Remove unneeded initilization

We pre zero all memory
zr-v5.1
Michael du Breuil 4 years ago committed by Andrew Tridgell
parent
commit
29d6900888
  1. 2
      libraries/AP_Airspeed/AP_Airspeed.h

2
libraries/AP_Airspeed/AP_Airspeed.h

@ -234,7 +234,7 @@ private:
} failures; } failures;
} state[AIRSPEED_MAX_SENSORS]; } state[AIRSPEED_MAX_SENSORS];
bool calibration_enabled = false; bool calibration_enabled;
// current primary sensor // current primary sensor
uint8_t primary; uint8_t primary;

Loading…
Cancel
Save