From 383ad03cdacbd5e8950d085cd2c9b68914a23f29 Mon Sep 17 00:00:00 2001 From: xxxxm <2389287465@qq.com> Date: Fri, 20 Mar 2026 05:01:32 +0800 Subject: [PATCH] 123321 --- User/module/cmd/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/User/module/cmd/cmd.c b/User/module/cmd/cmd.c index e22b6cf..3bb3bed 100644 --- a/User/module/cmd/cmd.c +++ b/User/module/cmd/cmd.c @@ -17,7 +17,7 @@ static void CMD_RC_BuildChassisCmd(CMD_t *ctx) { CMD_RCModeMap_t *map = &ctx->config->rc_mode_map; /* 根据左拨杆位置选择模式 */ - switch (ctx->input.rc.sw[1]) { + switch (ctx->input.rc.sw[0]) { case CMD_SW_UP: ctx->output.chassis.cmd.mode = map->sw_left_up; break;