From 015bafa2f40cfbf4ea884e26ebbbf398a5565b5a Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 15 九月 2020 21:49:57 +0800 Subject: [PATCH] 修改标签按键读取参数BUG --- Src/stm32l0xx_it.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Src/stm32l0xx_it.c b/Src/stm32l0xx_it.c index e373a05..852873e 100644 --- a/Src/stm32l0xx_it.c +++ b/Src/stm32l0xx_it.c @@ -155,7 +155,10 @@ if(!GET_USERKEY) { - waitusart_timer = tag_frequency*10; + nomove_count = 0; + waitusart_timer = tag_frequency*USART_KEEPWAKE_TIME; + UsartInit(); + // MOTOR_ON; } /* USER CODE END EXTI0_1_IRQn 0 */ -- Gitblit v1.9.3