From ce8369251cf64919a7f1a8333201d87f92fb2f14 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 19 Dec 2004 17:22:13 +0100 Subject: Removed delay_ms(), using cCondWait::SleepMs() instead --- PLUGINS/src/sky/HISTORY | 1 + PLUGINS/src/sky/sky.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'PLUGINS') diff --git a/PLUGINS/src/sky/HISTORY b/PLUGINS/src/sky/HISTORY index f1f22a69..2fed4c36 100644 --- a/PLUGINS/src/sky/HISTORY +++ b/PLUGINS/src/sky/HISTORY @@ -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. diff --git a/PLUGINS/src/sky/sky.c b/PLUGINS/src/sky/sky.c index 49afea1d..4e934f73 100644 --- a/PLUGINS/src/sky/sky.c +++ b/PLUGINS/src/sky/sky.c @@ -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 @@ -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) -- cgit v1.2.3