Change to the read buffer size on Windows for better performance

This commit is contained in:
Paul Hollinsky
2018-09-13 19:40:09 -04:00
parent 9f43e9e39e
commit f1f1cb1701
+1 -1
View File
@@ -236,7 +236,7 @@ bool VCP::close() {
}
void VCP::readTask() {
constexpr size_t READ_BUFFER_SIZE = 8;
constexpr size_t READ_BUFFER_SIZE = 10240;
uint8_t readbuf[READ_BUFFER_SIZE];
IOTaskState state = LAUNCH;
DWORD bytesRead = 0;