/[projects]/smsdaemon/SmsDaemon.cpp
ViewVC logotype

Diff of /smsdaemon/SmsDaemon.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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;

Legend:
Removed from v.101  
changed lines
  Added in v.125

  ViewVC Help
Powered by ViewVC 1.1.20