summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
4038f02)
IRMP - Infrared Multi Protocol Decoder\r
--------------------------------------\r
\r
IRMP - Infrared Multi Protocol Decoder\r
--------------------------------------\r
\r
-Version IRMP: 2.3.1 26.10.2012\r
+Version IRMP: 2.3.2 06.11.2012\r
Version IRSND: 2.3.2 29.10.2012\r
\r
Dokumentation:\r
Version IRSND: 2.3.2 29.10.2012\r
\r
Dokumentation:\r
*\r
* Copyright (c) 2009-2012 Frank Meyer - frank(at)fli4l.de\r
*\r
*\r
* Copyright (c) 2009-2012 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmp.c,v 1.129 2012/10/26 08:09:37 fm Exp $\r
+ * $Id: irmp.c,v 1.130 2012/11/06 10:19:41 fm Exp $\r
*\r
* ATMEGA88 @ 8 MHz\r
*\r
*\r
* ATMEGA88 @ 8 MHz\r
*\r
- ANALYZE_PRINTF ("%8.3fms waiting for inverted command repetition\n", (double) (time_counter * 1000) / F_INTERRUPTS);\r
+ if ((irmp_tmp_command & 0x03) == 0)\r
+ {\r
+ ANALYZE_PRINTF ("%8.3fms waiting for inverted command repetition\n", (double) (time_counter * 1000) / F_INTERRUPTS);\r
+ last_irmp_denon_command = irmp_tmp_command;\r
+ }\r
+ else\r
+ {\r
+ ANALYZE_PRINTF ("%8.3fms got unexpected inverted command, ignoring it\n", (double) (time_counter * 1000) / F_INTERRUPTS);\r
+ last_irmp_denon_command = 0;\r
+ }\r
irmp_ir_detected = FALSE;\r
irmp_ir_detected = FALSE;\r
- last_irmp_denon_command = irmp_tmp_command;\r
repetition_len = 0;\r
}\r
}\r
repetition_len = 0;\r
}\r
}\r
else if (ch == '\n')\r
{\r
IRMP_PIN = 0xff;\r
else if (ch == '\n')\r
{\r
IRMP_PIN = 0xff;\r
\r
if (list && pause > 0)\r
{\r
\r
if (list && pause > 0)\r
{\r
}\r
else if (ch == '#')\r
{\r
}\r
else if (ch == '#')\r
{\r
+ time_counter = 0;\r
+\r
if (analyze)\r
{\r
while ((ch = getchar()) != '\n' && ch != EOF)\r
if (analyze)\r
{\r
while ((ch = getchar()) != '\n' && ch != EOF)\r