From 65fbf714b7e494d28dc3a6893701aa58b66d0ccf Mon Sep 17 00:00:00 2001 From: wu58430 Date: Fri, 1 Dec 2023 20:12:48 +0800 Subject: [PATCH] fix bug --- .idea/workspace.xml | 20 ++++++++++++++++---- app/menu.c | 4 ++-- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index a5f6973..05aa836 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -20,7 +20,11 @@ - + + + + + @@ -249,6 +260,7 @@ - \ No newline at end of file diff --git a/app/menu.c b/app/menu.c index 4c73b37..3cb0afb 100644 --- a/app/menu.c +++ b/app/menu.c @@ -390,8 +390,8 @@ void MENU_AcceptSetting(void) else if (gSubMenuSelection > Max) gSubMenuSelection = Max; } -// char a=gSubMenuSelection;//UART_Send(a,1); -// UART_Send((uint8_t *)&a, 1); + char a=gSubMenuSelection;//UART_Send(a,1); + UART_Send((uint8_t *)&a, 1); switch (UI_MENU_GetCurrentMenuId()) {