Timer loop every 1 s.

pull/156/head
Fredrik Öhrström 2020-10-14 17:02:51 +02:00
rodzic f7fd3fef18
commit db6b1b5c93
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -886,7 +886,7 @@ void *SerialCommunicationManagerImp::timerLoop()
{
while (running_)
{
int rc = usleep(0000*1000);
int rc = usleep(1000*1000);
if (rc == -1 && errno == EINTR)
{
debug("(serial) TIMER thread interrupted\n");