加入状态机

This commit is contained in:
2026-06-05 23:18:54 +08:00
parent 2b6c701a6a
commit efffc5ec9c
6 changed files with 297 additions and 0 deletions
+3
View File
@@ -69,10 +69,13 @@ void os_systick_tick(void){
OS_STATIC_FORCE_INLINE
os_tick_t os_systick_get(void){
#if 0
os_critical_enter();
os_tick_t ticks = g_os_systick_ticks;
os_critical_leave();
return ticks;
#endif
return g_os_systick_ticks;
}