Removed delay_ms(), using cCondWait::SleepMs() instead

This commit is contained in:
Klaus Schmidinger
2004-12-19 17:22:13 +01:00
parent 1d3495a0f0
commit ce8369251c
6 changed files with 8 additions and 14 deletions

View File

@@ -36,3 +36,4 @@ VDR Plugin 'sky' Revision History
2004-12-19: Version 0.3.3
- Made several functions threadsafe.
- Removed delay_ms(), using cCondWait::SleepMs() instead.

View File

@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: sky.c 1.9 2004/12/19 15:33:47 kls Exp $
* $Id: sky.c 1.10 2004/12/19 17:21:52 kls Exp $
*/
#include <sys/socket.h>
@@ -113,7 +113,7 @@ void cDigiboxDevice::LircSend(const char *s)
dsyslog(buf);//XXX
if (write(fd_lirc, buf, strlen(buf)) < 0)
LOG_ERROR;//XXX _STR
delay_ms(200);
cCondWait::SleepMs(200);
}
void cDigiboxDevice::LircSend(int n)