From a9ac56dc5250bc92c23327533637a27c03b66562 Mon Sep 17 00:00:00 2001 From: TuxMonkey Date: Tue, 10 Mar 2026 02:22:30 +0800 Subject: [PATCH] delete +3 --- modules/remote/remote_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/remote/remote_control.c b/modules/remote/remote_control.c index 0949f6d..95d3b10 100644 --- a/modules/remote/remote_control.c +++ b/modules/remote/remote_control.c @@ -40,7 +40,7 @@ static void sbus_to_rc(const uint8_t *sbus_buf) rc_ctrl[TEMP].rc.rocker_l_ = (((sbus_buf[2] >> 6) | (sbus_buf[3] << 2) | (sbus_buf[4] << 10)) & 0x07ff) - RC_CH_VALUE_OFFSET; //!< Channel 2 rc_ctrl[TEMP].rc.rocker_l1 = (((sbus_buf[4] >> 1) | (sbus_buf[5] << 7)) & 0x07ff) - RC_CH_VALUE_OFFSET; //!< Channel 3 rc_ctrl[TEMP].rc.dial = ((sbus_buf[16] | (sbus_buf[17] << 8)) & 0x07FF) - RC_CH_VALUE_OFFSET; - rc_ctrl[TEMP].rc.rocker_l_= rc_ctrl[TEMP].rc.rocker_l_+3; + rc_ctrl[TEMP].rc.rocker_l_= rc_ctrl[TEMP].rc.rocker_l_; // 左侧拨轮 RectifyRCjoystick(); // 开关,0左1右