aboutsummaryrefslogtreecommitdiffstats
path: root/utils/ir-ctl
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ir-ctl')
-rw-r--r--utils/ir-ctl/ir-ctl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/ir-ctl/ir-ctl.c b/utils/ir-ctl/ir-ctl.c
index ef399808..ba454619 100644
--- a/utils/ir-ctl/ir-ctl.c
+++ b/utils/ir-ctl/ir-ctl.c
@@ -1159,9 +1159,8 @@ int lirc_receive(struct arguments *args, int fd, unsigned features)
// is meaningless, maybe fix the kernel?
if (leading_space && msg == LIRC_MODE2_SPACE)
continue;
- else
- leading_space = false;
+ leading_space = false;
if (args->oneshot &&
(msg == LIRC_MODE2_TIMEOUT ||
(msg == LIRC_MODE2_SPACE && val > 19000))) {

Privacy Policy