removed debug code

This commit is contained in:
john30
2014-12-06 23:49:00 +01:00
parent 8ef8418702
commit f3f2e1a451
-4
View File
@@ -177,16 +177,12 @@ void BaseLoop::start()
return; return;
} }
} }
static unsigned char _lastRecvSymbol = SYN;
void BaseLoop::logRaw(const unsigned char byte, bool received) { void BaseLoop::logRaw(const unsigned char byte, bool received) {
if (received == true) { if (received == true) {
if (byte != SYN || byte !=_lastRecvSymbol)
L.log(bus, event, "<%02x", byte); L.log(bus, event, "<%02x", byte);
_lastRecvSymbol = byte;
} else { } else {
L.log(bus, event, ">%02x", byte); L.log(bus, event, ">%02x", byte);
_lastRecvSymbol = ESC;
} }
} }