From d512dc0b00250c4b69ea8adb8d60f19869e94e5c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 May 2022 08:04:37 +1000 Subject: [PATCH] RC_Channel: fixed use of configured() vs configured_in_storage() --- libraries/RC_Channel/RC_Channel.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/RC_Channel/RC_Channel.h b/libraries/RC_Channel/RC_Channel.h index 2c8c4f36a7..607e375bc5 100644 --- a/libraries/RC_Channel/RC_Channel.h +++ b/libraries/RC_Channel/RC_Channel.h @@ -88,8 +88,8 @@ public: // set and save trim if changed void set_and_save_radio_trim(int16_t val) { radio_trim.set_and_save_ifchanged(val);} - // check if any of the trim/min/max param are configured in storage, this would indicate that the user has done a calibration at somepoint - bool configured_in_storage() { return radio_min.configured_in_storage() || radio_max.configured_in_storage() || radio_trim.configured_in_storage(); } + // check if any of the trim/min/max param are configured, this would indicate that the user has done a calibration at somepoint + bool configured() { return radio_min.configured() || radio_max.configured() || radio_trim.configured(); } ControlType get_type(void) const { return type_in; }