summaryrefslogtreecommitdiff
path: root/irmpextlog.c
diff options
context:
space:
mode:
authorukw2017-02-17 09:16:59 +0000
committerukw2017-02-17 09:16:59 +0000
commit30d1689ddd3c91f22ee9f79ae4cd6c897b7badbb (patch)
tree535738adcad429029f4b413ba7efc3fe15c6ed34 /irmpextlog.c
parenta777fd4e74625adc63777d9dae68c5006b70b0ab (diff)
downloadirmp-30d1689ddd3c91f22ee9f79ae4cd6c897b7badbb.zip
Version 3.0.7 - added SAMSUNGAH protocol, improved some code for ESP8266master
git-svn-id: svn://mikrocontroller.net/irmp@181 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irmpextlog.c')
-rw-r--r--irmpextlog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/irmpextlog.c b/irmpextlog.c
index b3352ac..2845aa5 100644
--- a/irmpextlog.c
+++ b/irmpextlog.c
@@ -1,7 +1,7 @@
/*---------------------------------------------------------------------------------------------------------------------------------------------------
* irmpextlog.c - external logging
*
- * $Id: irmpextlog.c,v 1.4 2014/02/19 12:57:36 fm Exp $
+ * $Id: irmpextlog.c,v 1.6 2017/02/17 09:13:06 fm Exp $
*
* If you cannot use the internal UART logging routine, adapt the
* source below for your application. The following implementation
@@ -36,7 +36,7 @@ void
initextlog (void) // reset all data to default, only during init
{
unsigned char i;
-
+
for (i = 0; i < loglen; i++)
{
logdata[i] = 0;
@@ -68,7 +68,7 @@ sendextlog (unsigned char data)
}
mUSBUSARTTxRam((unsigned char *) &logdata, loglen); // send all Data to main Seoftware
-
+
logindex = 3; // reset index
bitindex = 7; // reset bit position
logdata[logindex] = 0; // reset value of new logindex to 0