Internal and external module buffers are now private

This commit is contained in:
Raphael Coeffic
2022-08-11 12:15:46 +02:00
committed by Raphael Coeffic
parent ab6033e4d5
commit f952c5f7c7
24 changed files with 280 additions and 216 deletions
+1 -1
View File
@@ -1143,7 +1143,7 @@ int cliSerialPassthrough(const char **argv)
while (cdcConnected) {
uint8_t data;
if (intmoduleFifo.pop(data)) {
if (IntmoduleSerialDriver.getByte(uart_ctx, &data) > 0) {
uint8_t timeout = 10; // 10 ms
while(!usbSerialFreeSpace() && (timeout > 0)) {