mirror of
https://github.com/StrikerX3/StrikeBox.git
synced 2024-06-23 14:53:22 -04:00
That serial port change broke serial comm...
This commit is contained in:
parent
11d870a555
commit
5049ff3bd9
|
@ -16,7 +16,7 @@ void Win32SerialDriver::ReaderFunc(void *userData, uint8_t *buf, uint32_t len) {
|
|||
while (len > 0) {
|
||||
int lenRecv = min(driver->CanReceive(), len);
|
||||
if (lenRecv == 0) {
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
driver->Receive(buf, lenRecv);
|
||||
len -= lenRecv;
|
||||
|
|
Loading…
Reference in a new issue