Browse Source

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

apm_2208
Andrew Tridgell 3 years ago committed by Peter Barker
parent
commit
943b262eef
  1. 4
      libraries/AP_RPM/AP_RPM.cpp

4
libraries/AP_RPM/AP_RPM.cpp

@ -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;
} }

Loading…
Cancel
Save