--------------------------------------\r
\r
Version IRMP: 2.0.0-pre4 20.05.2010\r
-Version IRSND: 1.9.3 20.05.2010\r
+Version IRSND: 1.9.4 22.05.2010\r
\r
Dokumentation:\r
\r
*\r
* Copyright (c) 2009-2011 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmp.c,v 1.103 2011/05/20 09:31:25 fm Exp $\r
+ * $Id: irmp.c,v 1.104 2011/05/22 21:40:52 fm Exp $\r
*\r
* ATMEGA88 @ 8 MHz\r
*\r
\r
#if IRMP_SUPPORT_MERLIN_PROTOCOL == 1\r
\r
-static PROGMEM IRMP_PARAMETER netbox_param =\r
+static PROGMEM IRMP_PARAMETER merlin_param =\r
{\r
IRMP_MERLIN_PROTOCOL, // protocol: ir protocol\r
MERLIN_PULSE_LEN, // pulse_1_len_min: minimum length of pulse with bit value 1, here: exact value\r
ANALYZE_PRINTF ("protocol = MERLIN, start bit timings: pulse: %3d - %3d, pause: %3d - %3d\n",\r
MERLIN_START_BIT_PULSE_LEN_MIN, MERLIN_START_BIT_PULSE_LEN_MAX,\r
MERLIN_START_BIT_PAUSE_LEN_MIN, MERLIN_START_BIT_PAUSE_LEN_MAX);\r
- irmp_param_p = (IRMP_PARAMETER *) &netbox_param;\r
+ irmp_param_p = (IRMP_PARAMETER *) &merlin_param;\r
}\r
else\r
#endif // IRMP_SUPPORT_MERLIN_PROTOCOL == 1\r
*\r
* Copyright (c) 2010-2011 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irsnd.c,v 1.37 2011/05/20 09:31:25 fm Exp $\r
+ * $Id: irsnd.c,v 1.38 2011/05/22 21:40:53 fm Exp $\r
*\r
* This program is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
return irsnd_busy;\r
}\r
\r
-static volatile uint8_t n_repeat_frames; // number of repetition frames\r
-\r
void\r
irsnd_stop (void)\r
{\r
- n_repeat_frames = 0;\r
+ irsnd_repeat = 0;\r
}\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
static uint8_t has_stop_bit;\r
static uint8_t new_frame = TRUE;\r
static uint8_t complete_data_len;\r
+ static uint8_t n_repeat_frames; // number of repetition frames\r
static uint8_t n_auto_repetitions; // number of auto_repetitions\r
static uint8_t auto_repetition_counter; // auto_repetition counter\r
static uint16_t auto_repetition_pause_len; // pause before auto_repetition, uint16_t!\r