We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed74f65 commit 6657de1Copy full SHA for 6657de1
1 file changed
source/main.cpp
@@ -163,8 +163,6 @@ static void core0( void *pvParameters )
163
if (statistics.printLogs.exchange(false))
164
{
165
statistics.printToSerial(base.processDataHandle, base.processSerialHandle);
166
- stdio_flush();
167
- vTaskDelay(pdMS_TO_TICKS(5));
168
}
169
170
sem_release(&base.serialSemaphore);
@@ -181,7 +179,9 @@ static void serialEvent(void *)
181
179
182
180
void on_fifo_irq()
183
184
- multicore_fifo_drain();
+ while (multicore_fifo_rvalid()) {
+ multicore_fifo_pop_blocking();
+ }
185
186
serialEvent(nullptr);
187
0 commit comments