From 943b262eef3af8c9dfa085a09a417a03613c1750 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 May 2022 08:04:37 +1000 Subject: [PATCH] AP_RPM: fixed use of configured() vs configured_in_storage() --- libraries/AP_RPM/AP_RPM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_RPM/AP_RPM.cpp b/libraries/AP_RPM/AP_RPM.cpp index cde6e467ce..dc45508d2e 100644 --- a/libraries/AP_RPM/AP_RPM.cpp +++ b/libraries/AP_RPM/AP_RPM.cpp @@ -104,8 +104,8 @@ PARAMETER_CONVERSION - Added: Aug-2021 */ void AP_RPM::convert_params(void) { - if (_params[0].type.configured_in_storage()) { - // _params[0].type will always be configured in storage after conversion is done the first time + if (_params[0].type.configured()) { + // _params[0].type will always be configured after conversion is done the first time return; }