add tos_slist.h, rename tos.h to tos_k.h

This commit is contained in:
daishengdong
2020-01-03 17:25:38 +08:00
parent af07f199d9
commit c9556307df
268 changed files with 900 additions and 742 deletions

View File

@@ -15,7 +15,7 @@
#include "gd32f1x0_it.h"
#include "main.h"
#include "systick.h"
#include "tos.h"
#include "tos_k.h"
/*!
\brief this function handles NMI exception
\param[in] none
@@ -110,7 +110,7 @@ void SysTick_Handler(void)
if(tos_knl_is_running())
{
tos_knl_irq_enter();
tos_tick_handler();
tos_tick_handler();
tos_knl_irq_leave();
}
delay_decrement();