mirror of
https://github.com/dougg3/mac-rom-simm-programmer.git
synced 2025-03-02 19:29:46 +00:00
Electrical status "OK" reply is now sent immediately. Before, it was
being buffered, so we didn't get any immediate feedback until the entire test was finished.
This commit is contained in:
parent
522ded0973
commit
f41d8f193a
@ -103,6 +103,9 @@ void USBSerial_HandleWaitingForCommandByte(uint8_t byte)
|
||||
// sending whatever replies necessary
|
||||
case DoElectricalTest:
|
||||
SendByte(CommandReplyOK);
|
||||
// Force LUFA to send initial "OK" reply immediately in this case
|
||||
// so the caller gets immediate feedback that the test has started
|
||||
CDC_Device_Flush(&VirtualSerial_CDC_Interface);
|
||||
SIMMElectricalTest_Run(USBSerial_ElectricalTest_Fail_Handler);
|
||||
SendByte(ProgrammerElectricalTestDone);
|
||||
curCommandState = WaitingForCommand;
|
||||
|
Loading…
x
Reference in New Issue
Block a user