From c7876a00c50d87d6a16d36225f1ed42ed3d29022 Mon Sep 17 00:00:00 2001 From: DashyFox Date: Thu, 3 Oct 2024 02:44:05 +0300 Subject: [PATCH] fix debug shot --- Core/Src/IR_CMD_HandlerLogic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Src/IR_CMD_HandlerLogic.c b/Core/Src/IR_CMD_HandlerLogic.c index d9a1396..57f5eef 100644 --- a/Core/Src/IR_CMD_HandlerLogic.c +++ b/Core/Src/IR_CMD_HandlerLogic.c @@ -75,7 +75,7 @@ uint8_t speedDown = 100; void IR_Home_Process() { InputHandler = IR_Home_Process; - uint8_t isshotRcOverride = currentInfo.mode == ShotMode + uint8_t isshotRcOverride = (currentInfo.mode == ShotMode || DebugShot) && currentInfo.state == RUN; switch (data.command) { case IR_SHOT: