Browse Source

AP_InertialSensor: resolved compile warning re uninitialised variable

mission-4.1.18
rmackay9 12 years ago committed by Andrew Tridgell
parent
commit
a76aec675a
  1. 1
      libraries/AP_InertialSensor/AP_InertialSensor.cpp

1
libraries/AP_InertialSensor/AP_InertialSensor.cpp

@ -308,6 +308,7 @@ bool AP_InertialSensor::calibrate_accel(void (*flash_leds_cb)(bool on), @@ -308,6 +308,7 @@ bool AP_InertialSensor::calibrate_accel(void (*flash_leds_cb)(bool on),
case 4:
msg = PSTR("nose up");
break;
default: // default added to avoid compiler warning
case 5:
msg = PSTR("on it's back");
break;

Loading…
Cancel
Save