1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-02-16 22:19:14 +01:00

Swapped IPD DIAG messages to better align the message with the byte recieved

This commit is contained in:
Mark Muzzin 2022-05-03 22:48:13 -04:00
parent 4be8d58f76
commit 2a16e7d710

View File

@ -269,8 +269,8 @@ WifiInboundHandler::INBOUND_STATE WifiInboundHandler::loop2() {
while (wifiStream->available()) {
//Read next character (data byte)
ch = wifiStream->read();
if (Diag::WIFI) DIAG(F("[+IPD %d]"), dataRemaining);
if (Diag::WIFI) StringFormatter::printEscape(ch);
if (Diag::WIFI) DIAG(F("[+IPD %d]"), dataRemaining);
dataRemaining--;
//Check if we would overflow the inbound ring