AP_InertialSensor: resolved compile warning re uninitialised variable

This commit is contained in:
rmackay9 2012-12-16 16:23:17 +09:00 committed by Andrew Tridgell
parent 90d7f00965
commit a76aec675a

View File

@ -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;