00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "..\inc\includes.h"
00011 #include "..\tasks\task_includes.h"
00012 #include "..\os_core\os_includes.h"
00013
00014 void F_LedTaskInit(void) LargeReentrant{
00015 F_LedPowerOnInit();
00016 }
00017 void F_LedTask(void) LargeReentrant{
00018 F_LedTaskInit();
00019 while(1){
00020 while(LedCtrl.Timer!=0){
00021 #if(ENABLE_TASK_LEVEL_CSW==1)
00022 OS_ENTER_CRITICAL();
00023 OsCoreScheduler();
00024 OS_EXIT_CRITICAL();
00025 #endif
00026 }
00027 F_LedSvc();
00028 }
00029 }