X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/cb93f9e9e7b2cc102071423a590cc4a57c06657c..f850d9dc0310997bbcfa076b113ac06765a18bfc:/irmpextlog.c 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