From 194551199911fa5845e4b294a5f6946364b82ae0 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期二, 04 五月 2021 13:48:37 +0800 Subject: [PATCH] 修改SFD模式,去掉滤波器 V1.46 --- 源码/核心板/Src/stm32f10x_it.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" index 1d55cfb..58eb6ef 100644 --- "a/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" +++ "b/\346\272\220\347\240\201/\346\240\270\345\277\203\346\235\277/Src/stm32f10x_it.c" @@ -65,7 +65,7 @@ TagListUpdate(); } - if(g_Resttimer++>20000) + if(g_Resttimer++>10000) { NVIC_SystemReset(); } @@ -160,4 +160,12 @@ // } } +void HardFalut_Handler(void) +{ + while(1) + { + NVIC_SystemReset(); + } + +} -- Gitblit v1.9.3