From 4f571db6932806ddd5f837f8c67d219e05d70c5c Mon Sep 17 00:00:00 2001 From: ukw Date: Tue, 1 Jul 2014 09:04:34 +0000 Subject: [PATCH] Version 2.5.5: IRMP port to PIC XC8 compiler, removed variadic macros for microcontroller compilers :-( git-svn-id: svn://mikrocontroller.net/irmp@134 aeb2e35e-bfc4-4214-b83c-9e8de998ed28 --- irmp.aps | 2 +- irmp.c | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/irmp.aps b/irmp.aps index 0aefcb3..bf7dbfa 100644 --- a/irmp.aps +++ b/irmp.aps @@ -1 +1 @@ -irmp07-Jan-2010 20:23:4925-Jun-2014 14:05:01241007-Jan-2010 20:23:4944, 18, 0, 670AVR GCCdefault\irmp.elfC:\avr\irmp\AVR SimulatorATmega88.xmlfalseR00R01R02R03R04R05R06R07R08R09R10R11R12R13R14R15R16R17R18R19R20R21R22R23R24R25R26R27R28R29R30R31Auto000main.cirmp.cirmp.hirmpconfig.hirmpprotocols.hirmpsystem.hdefault\irmp.lssdefault\irmp.mapdefaultNOatmega88111irmp.elfdefault\0-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -flto -Osdefault1C:\WinAVR\avr-gcc-4.7.2\bin\avr-gcc.exeC:\WinAVR\avr-gcc-4.7.2\utils\bin\make.exe00000main.c100001irmp.c100002irmp.h100003irmpconfig.h100004irmpsystem.h100005irmpprotocols.h1 +irmp07-Jan-2010 20:23:4901-Jul-2014 11:03:56241007-Jan-2010 20:23:4944, 18, 0, 670AVR GCCdefault\irmp.elfC:\avr\irmp\AVR SimulatorATmega88.xmlfalseR00R01R02R03R04R05R06R07R08R09R10R11R12R13R14R15R16R17R18R19R20R21R22R23R24R25R26R27R28R29R30R31Auto000main.cirmp.cirmp.hirmpconfig.hirmpprotocols.hirmpsystem.hdefault\irmp.lssdefault\irmp.mapdefaultNOatmega88111irmp.elfdefault\0-Wall -gdwarf-2 -std=gnu99 -DF_CPU=8000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums-flto -Osdefault1C:\WinAVR\avr-gcc-4.7.2\bin\avr-gcc.exeC:\WinAVR\avr-gcc-4.7.2\utils\bin\make.exe00000main.c100001irmp.c100002irmp.h100003irmpconfig.h100004irmpsystem.h100005irmpprotocols.h1 diff --git a/irmp.c b/irmp.c index 0c4fcb1..099e4c4 100644 --- a/irmp.c +++ b/irmp.c @@ -3,7 +3,7 @@ * * Copyright (c) 2009-2013 Frank Meyer - frank(at)fli4l.de * - * $Id: irmp.c,v 1.152 2014/07/01 08:33:10 fm Exp $ + * $Id: irmp.c,v 1.153 2014/07/01 09:04:19 fm Exp $ * * ATMEGA88 @ 8 MHz * @@ -3070,9 +3070,8 @@ irmp_ISR (void) { #ifdef ANALYZE ANALYZE_PRINTF ("error: stop bit timing wrong, irmp_bit = %d, irmp_pulse_time = %d, pulse_0_len_min = %d, pulse_0_len_max = %d\n", -#endif irmp_bit, irmp_pulse_time, irmp_param.pulse_0_len_min, irmp_param.pulse_0_len_max); - +#endif // irmp_busy_flag = FALSE; irmp_start_bit_detected = 0; // wait for another start bit... irmp_pulse_time = 0; @@ -4097,8 +4096,8 @@ irmp_ISR (void) { #ifdef ANALYZE ANALYZE_PRINTF ("Detected NEC repetition frame, ignoring it: timeout occured, key_repetition_len = %d > %d\n", -#endif key_repetition_len, NEC_FRAME_REPEAT_PAUSE_LEN_MAX); +#endif irmp_ir_detected = FALSE; } } -- 2.39.2