Communication: Add pause feature

Removed redirect read
This commit is contained in:
Yasser Yassine
2024-05-23 21:23:45 +00:00
parent 9a1cd1124d
commit 659fcf633c
13 changed files with 99 additions and 70 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ void CDCACM::readTask() {
}
std::cout << std::dec << std::endl;
#endif
readBuffer.write(readbuf, bytesRead);
writeToReadBuffer(readbuf, bytesRead);
} else {
if(modeChanging) {
// We were expecting a disconnect for reenumeration