mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-06-09 09:45:23 +02:00
Swapped IPD DIAG messages to better align the message with the byte recieved
This commit is contained in:
parent
4be8d58f76
commit
2a16e7d710
@ -269,8 +269,8 @@ WifiInboundHandler::INBOUND_STATE WifiInboundHandler::loop2() {
|
|||||||
while (wifiStream->available()) {
|
while (wifiStream->available()) {
|
||||||
//Read next character (data byte)
|
//Read next character (data byte)
|
||||||
ch = wifiStream->read();
|
ch = wifiStream->read();
|
||||||
if (Diag::WIFI) DIAG(F("[+IPD %d]"), dataRemaining);
|
|
||||||
if (Diag::WIFI) StringFormatter::printEscape(ch);
|
if (Diag::WIFI) StringFormatter::printEscape(ch);
|
||||||
|
if (Diag::WIFI) DIAG(F("[+IPD %d]"), dataRemaining);
|
||||||
dataRemaining--;
|
dataRemaining--;
|
||||||
|
|
||||||
//Check if we would overflow the inbound ring
|
//Check if we would overflow the inbound ring
|
||||||
|
Loading…
x
Reference in New Issue
Block a user