diff input/lirc.c @ 15825:8549fc0fb5b1

consume empty lirc events at once. Patch by Lev A. Melnikovsky {leva at kapitza ras ru}.
author reimar
date Mon, 27 Jun 2005 08:16:23 +0000
parents d375383e1a48
children a68ede010f66
line wrap: on
line diff
--- a/input/lirc.c	Mon Jun 27 07:40:24 2005 +0000
+++ b/input/lirc.c	Mon Jun 27 08:16:23 2005 +0000
@@ -102,7 +102,7 @@
   else if(cmd_buf) // return the first command in the buffer
     return mp_input_lirc_read(fd,dest,s);
   else
-    return MP_INPUT_NOTHING;
+    return MP_INPUT_RETRY;
 
 }