mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
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:
|
case 4:
|
||||||
msg = PSTR("nose up");
|
msg = PSTR("nose up");
|
||||||
break;
|
break;
|
||||||
|
default: // default added to avoid compiler warning
|
||||||
case 5:
|
case 5:
|
||||||
msg = PSTR("on it's back");
|
msg = PSTR("on it's back");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user