main/task_user.c

changeset 54
3b1834482899
parent 52
90a36619b07b
child 55
43362bb8f3c0
equal deleted inserted replaced
53:20c14b06f255 54:3b1834482899
64 64
65 65
66 void TimerCallback(void *arg) 66 void TimerCallback(void *arg)
67 { 67 {
68 SecsCount++; 68 SecsCount++;
69 if ((SecsCount % 60) == 0) { 69 if ((SecsCount % MAINLOOP_TIMER) == 0) {
70 if (Main_Loop1 == ML1_DONE && update_running == 0) 70 if (Main_Loop1 == ML1_DONE && update_running == 0)
71 Main_Loop1 = ML1_INIT; 71 Main_Loop1 = ML1_INIT;
72 } 72 }
73 73
74 if (UserTimer == 1) { 74 if (UserTimer == 1) {

mercurial