Fixed some bugs and added the creation of order files after the order is completed
This commit is contained in:
parent
6743c0a6ed
commit
fdeaf46e9d
@ -69,6 +69,12 @@ void user_Menu() {
|
|||||||
}
|
}
|
||||||
if (beginFlag == 3) {
|
if (beginFlag == 3) {
|
||||||
HAL_TIM_Base_Stop_IT(&htim4);
|
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;
|
LED_BLUE_OFF;
|
||||||
beginFlag = 0;
|
beginFlag = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user