Driver: Add general predicate parameter for waitForRx

This commit is contained in:
Yasser Yassine
2024-05-28 18:21:22 +00:00
parent 659fcf633c
commit 77928dc93d
10 changed files with 22 additions and 14 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ void CDCACM::readTask() {
}
std::cout << std::dec << std::endl;
#endif
writeToReadBuffer(readbuf, bytesRead);
pushRx(readbuf, bytesRead);
} else {
if(modeChanging) {
// We were expecting a disconnect for reenumeration