mirror of https://github.com/ArduPilot/ardupilot
AP_RPM: fixed use of configured() vs configured_in_storage()
This commit is contained in:
parent
5413893c91
commit
943b262eef
|
@ -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…
Reference in New Issue