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

Diff of /smsdaemon/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 81 by torben, Fri Jun 13 10:10:06 2008 UTC revision 82 by torben, Sun Jun 15 20:06:39 2008 UTC
# Line 64  void main_loop(GsmModem& modem) Line 64  void main_loop(GsmModem& modem)
64                          cmn->smsCounter.incomming++;                          cmn->smsCounter.incomming++;
65                  }                  }
66    
67                  if (sms.size() == 0)                  cmn->taskManager.ExecuteTasks();
68                          Util::Sleep(10);  
69    
70                  if (cmn->isDebug && kbhit())                  if (cmn->isDebug && kbhit())
71                          break;                          break;
72    
73                    Util::Sleep(10);
74    
75          }          }
76  }  }
77    
# Line 107  int main(int argc, char* argv[]) Line 109  int main(int argc, char* argv[])
109    
110          cmn->logMessage("--------------------------------");          cmn->logMessage("--------------------------------");
111    
112            cmn->taskManager.LoadTasks();
113          cmn->pluginManager.LoadPlugins();          cmn->pluginManager.LoadPlugins();
114                    
115          SerialPort port("/dev/ttyS1" );          SerialPort port("/dev/ttyS1" );

Legend:
Removed from v.81  
changed lines
  Added in v.82

  ViewVC Help
Powered by ViewVC 1.1.20