Internal and external module buffers are now private
This commit is contained in:
committed by
Raphael Coeffic
parent
ab6033e4d5
commit
f952c5f7c7
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user