From b41b05715c4a7c65e4d87dfac807831d1937cd3a Mon Sep 17 00:00:00 2001 From: Marcelo Bezerra <23555060+mmosca@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:54:29 +0100 Subject: [PATCH] Use correct method to read config --- src/main/fc/rc_controls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/fc/rc_controls.c b/src/main/fc/rc_controls.c index c9208106f9f..9cce60a2a38 100644 --- a/src/main/fc/rc_controls.c +++ b/src/main/fc/rc_controls.c @@ -119,7 +119,7 @@ throttleStatus_e FAST_CODE NOINLINE calculateThrottleStatus(throttleStatusType_e value = rcCommand[THROTTLE]; } - bool midThrottle = value > (rcControlsConfig->deadband_low) && value < (rcControlsConfig->deadband_high); + bool midThrottle = value > (reversibleMotorsConfig()->deadband_low) && value < (reversibleMotorsConfig()->deadband_high); if ((feature(FEATURE_REVERSIBLE_MOTORS) && midThrottle) || (!feature(FEATURE_REVERSIBLE_MOTORS) && (value < rxConfig()->mincheck))) { return THROTTLE_LOW; }