AP_RPM: fixed use of configured() vs configured_in_storage()

This commit is contained in:
Andrew Tridgell 2022-05-12 08:04:37 +10:00 committed by Peter Barker
parent 5413893c91
commit 943b262eef
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,8 @@ PARAMETER_CONVERSION - Added: Aug-2021
*/ */
void AP_RPM::convert_params(void) void AP_RPM::convert_params(void)
{ {
if (_params[0].type.configured_in_storage()) { if (_params[0].type.configured()) {
// _params[0].type will always be configured in storage after conversion is done the first time // _params[0].type will always be configured after conversion is done the first time
return; return;
} }