From 083ca82eb09340e71de8694fbb5bae9b99489b38 Mon Sep 17 00:00:00 2001 From: zhyinch <zhyinch@gmail.com> Date: 星期一, 21 六月 2021 17:01:45 +0800 Subject: [PATCH] 67 功率 --- 源码/核心板/Src/stm32f10x_it.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 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..8e4f357 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,9 +65,9 @@ TagListUpdate(); } - if(g_Resttimer++>20000) + if(g_Resttimer++>10000) { - NVIC_SystemReset(); + // NVIC_SystemReset(); } @@ -160,4 +160,12 @@ // } } +void HardFalut_Handler(void) +{ + while(1) + { + NVIC_SystemReset(); + } + +} -- Gitblit v1.9.3