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

Loading…
Cancel
Save