generated from hulk/gd32e23x_template_cmake_vscode
add delay ms safe & add led heart beat
This commit is contained in:
@@ -36,6 +36,7 @@ OF SUCH DAMAGE.
|
||||
#include "systick.h"
|
||||
#include "uart.h"
|
||||
#include "uart_ring_buffer.h"
|
||||
#include "led.h"
|
||||
|
||||
/*!
|
||||
\brief this function handles NMI exception
|
||||
@@ -96,6 +97,7 @@ void PendSV_Handler(void)
|
||||
\retval none
|
||||
*/
|
||||
void SysTick_Handler(void) {
|
||||
led_heart_beat(); // LED心跳指示灯
|
||||
}
|
||||
|
||||
void USART0_IRQHandler(void) {
|
||||
|
Reference in New Issue
Block a user