From b34d5dbff89fd992af8196c747e18a8933d0c729 Mon Sep 17 00:00:00 2001 From: tao_z <tzj0429@163.com> Date: Sun, 27 Jun 2021 19:50:59 +0800 Subject: [PATCH] 编译通过,能够在线调试 --- USR/SRC/gd32e23x_it.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/USR/SRC/gd32e23x_it.c b/USR/SRC/gd32e23x_it.c index 3d538c2..2db822c 100644 --- a/USR/SRC/gd32e23x_it.c +++ b/USR/SRC/gd32e23x_it.c @@ -36,6 +36,7 @@ #include "gd32e23x_it.h" #include "motor.h" +#include "os_task.h" /*! \brief this function handles NMI exception @@ -141,7 +142,7 @@ */ void SysTick_Handler(void) { - delay_decrement(); + OS_TickFlag = 1; } /*! \brief this function handles EXTI4-15 exception -- Gitblit v1.8.0