/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* irmpextlog.c - external logging\r
*\r
- * $Id: irmpextlog.c,v 1.1 2012/02/16 10:40:08 fm Exp $\r
+ * $Id: irmpextlog.c,v 1.6 2017/02/17 09:13:06 fm Exp $\r
*\r
* If you cannot use the internal UART logging routine, adapt the\r
* source below for your application. The following implementation\r
* (at your option) any later version.\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
*/\r
-#include "irmpconfig.h"\r
+#include "irmp.h"\r
\r
#if IRMP_EXT_LOGGING == 1\r
\r
initextlog (void) // reset all data to default, only during init\r
{\r
unsigned char i;\r
- \r
+\r
for (i = 0; i < loglen; i++)\r
{\r
logdata[i] = 0;\r
}\r
\r
mUSBUSARTTxRam((unsigned char *) &logdata, loglen); // send all Data to main Seoftware\r
- \r
+\r
logindex = 3; // reset index\r
bitindex = 7; // reset bit position\r
logdata[logindex] = 0; // reset value of new logindex to 0\r
\r
#endif //IRMP_EXT_LOGGING\r
\r
+#if defined(PIC_C18)\r
static void\r
dummy (void)\r
{\r
// Only to avoid C18 compiler error\r
}\r
+#endif\r