From 26b6c3046217668ded6bc34f82c781394fa2c51c Mon Sep 17 00:00:00 2001 From: ukw Date: Fri, 25 May 2012 07:29:50 +0000 Subject: 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 --- irmp.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'irmp.c') 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) -- cgit v1.2.3