AP_InertialSensor: resolved compile warning re uninitialised variable
This commit is contained in:
parent
90d7f00965
commit
a76aec675a
@ -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…
Reference in New Issue
Block a user