mirror of
https://github.com/TomNisbet/TommyPROM.git
synced 2024-11-26 06:49:16 +00:00
Add debug for XModem transfer failure
This commit is contained in:
parent
910d07fb58
commit
3c4de71cd8
@ -57,6 +57,7 @@ uint32_t XModem::ReceiveFile(uint32_t address)
|
|||||||
// Fail the transfer on anything else
|
// Fail the transfer on anything else
|
||||||
cmdStatus.error("Unexpected character received waiting for next packet.");
|
cmdStatus.error("Unexpected character received waiting for next packet.");
|
||||||
cmdStatus.setValueDec(0, "char", c);
|
cmdStatus.setValueDec(0, "char", c);
|
||||||
|
cmdStatus.setValueDec(1, "seq", seq);
|
||||||
return 0;
|
return 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user