Parent Directory | Revision Log | Patch
revision 101 by torben, Mon Jun 16 16:41:18 2008 UTC | revision 125 by torben, Sat Dec 6 14:06:17 2008 UTC | |
---|---|---|
# | Line 78 void SmsDaemon::MainLoop() | Line 78 void SmsDaemon::MainLoop() |
78 | ||
79 | mainContinue = true; | mainContinue = true; |
80 | ||
81 | int loopcount = 0; | |
82 | while (mainContinue) | while (mainContinue) |
83 | { | { |
84 | if (loopcount > 100 ) | |
85 | { | |
86 | CheckSms(); | |
87 | ||
88 | CheckSms(); | cmn->GetTaskManager()->ExecuteTasks(_modem); |
89 | ||
90 | cmn->GetTaskManager()->ExecuteTasks(_modem); | loopcount = 0; |
91 | } | |
92 | ||
93 | if (cmn->isDebug && kbhit()) | if (cmn->isDebug && kbhit()) |
94 | break; | break; |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |