summaryrefslogtreecommitdiff
path: root/irmp.c
diff options
context:
space:
mode:
authorukw2012-05-25 07:29:50 +0000
committerukw2012-05-25 07:29:50 +0000
commit26b6c3046217668ded6bc34f82c781394fa2c51c (patch)
tree15b70ea5b38755e4ec8bc45631db4c9255e904e7 /irmp.c
parent37b29f94737cb761780e6b7f130fd0852396c56d (diff)
downloadirmp-26b6c3046217668ded6bc34f82c781394fa2c51c.zip
Version 2.2.2: fixed bug if NEC42 activated, but Kaseikyo is deactivated.
git-svn-id: svn://mikrocontroller.net/irmp@99 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irmp.c')
-rw-r--r--irmp.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/irmp.c b/irmp.c
index 1820e58..dafbd9e 100644
--- a/irmp.c
+++ b/irmp.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2009-2012 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmp.c,v 1.122 2012/05/24 06:55:11 fm Exp $
+ * $Id: irmp.c,v 1.123 2012/05/24 08:16:28 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
@@ -1534,7 +1534,11 @@ irmp_store_bit (uint8_t value)
}
}
}
+ else
#endif
+ {
+ ;
+ }
irmp_bit++;
}
@@ -3081,8 +3085,9 @@ irmp_ISR (void)
}
else
#endif // IRMP_SUPPORT_RC6_PROTOCOL == 1
-
- irmp_protocol = irmp_param.protocol;
+ {
+ irmp_protocol = irmp_param.protocol;
+ }
#if IRMP_SUPPORT_FDC_PROTOCOL == 1
if (irmp_param.protocol == IRMP_FDC_PROTOCOL)