From a4586d89681d7d282c26f49c9b799c5b09f553dd Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 28 三月 2023 13:20:19 +0800 Subject: [PATCH] V2.3 修改加速计阈值到2 --- 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