From baf8b42fca25208021259fde69eabdd2fc31cefa Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期六, 25 三月 2023 18:38:23 +0800 Subject: [PATCH] 阶段性调试1 --- Src/stm32l0xx_it.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Src/stm32l0xx_it.c b/Src/stm32l0xx_it.c index 378cef0..bae7fd0 100644 --- a/Src/stm32l0xx_it.c +++ b/Src/stm32l0xx_it.c @@ -152,6 +152,7 @@ void EXTI0_1_IRQHandler(void) { /* USER CODE BEGIN EXTI0_1_IRQn 0 */ + SystemClock_Config(); if(GET_IMUINT) { nomove_count = 0; @@ -168,7 +169,7 @@ MOTOR_OFF; } nomove_count = 0; - waitusart_timer = tag_frequency*USART_KEEPWAKE_TIME; +// waitusart_timer = tag_frequency*USART_KEEPWAKE_TIME; // UsartInit(); // MOTOR_ON; -- Gitblit v1.9.3