removed debug code

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