From fdeaf46e9d6e06adb41b674ce03f3381f6d075e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=86=AFSir?= Date: Sat, 4 May 2024 17:48:32 +0800 Subject: [PATCH] Fixed some bugs and added the creation of order files after the order is completed --- Firmware/Core/apps/src/menu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Firmware/Core/apps/src/menu.c b/Firmware/Core/apps/src/menu.c index f6a9838..4515d7f 100644 --- a/Firmware/Core/apps/src/menu.c +++ b/Firmware/Core/apps/src/menu.c @@ -69,6 +69,12 @@ void user_Menu() { } if (beginFlag == 3) { HAL_TIM_Base_Stop_IT(&htim4); + uint8_t ret = createOrderFile(); + if(ret == 1){ + printf("create order successful\r\n"); + }else{ + printf("Create order fail\r\n"); + } LED_BLUE_OFF; beginFlag = 0; }