Skip to content

Commit c09cb5a

Browse files
committed
correct Window init_seq for serial code
1 parent 0a7c2db commit c09cb5a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Source/Device/Serial.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,6 @@ namespace Device
237237
FlushFileBuffers(serial_handle);
238238
}
239239
}
240-
241-
// Flush any responses from init sequence before starting read thread
242-
SleepSystem(100);
243-
PurgeComm(serial_handle, PURGE_RXCLEAR);
244240
}
245241
#else
246242
serial_fd = open(port.c_str(), O_RDWR | O_NOCTTY | O_NONBLOCK | O_CLOEXEC);

0 commit comments

Comments
 (0)