mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AC_AutoTune: fix code response for unknown tune type
This commit is contained in:
parent
b260839b13
commit
a91cc7aad7
@ -173,7 +173,9 @@ const char *AC_AutoTune::type_string() const
|
||||
case TUNE_COMPLETE:
|
||||
return "Tune Complete";
|
||||
}
|
||||
return "Bug";
|
||||
return "unknown tune type";
|
||||
// this should never happen
|
||||
INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control);
|
||||
}
|
||||
|
||||
// run - runs the autotune flight mode
|
||||
|
Loading…
Reference in New Issue
Block a user