sdk17.0.2
so i am trying to flush rx/tx while the command execute
cannot find
app_fifo_flush()
or
app_uart_flush()
anyone know how to do it?
Hi
Are you using one of the standard SDK examples?
There is an app_uart_flush() function for flushing the buffers when using the app_uart driver, but it will not do anything unless you make sure to use the app_uart_fifo.c implementation.
When you say you cannot find this function, do you mean that the build fails if you try to call it?
The function is declared on line 244 of app_uart.h, and implemented on line 186 of app_uart_fifo.c
Best regards
Torbjørn