Open shufps opened 5 months ago
Hi,
I'm trying to clear the buffer of a BufferedUart on a STM32L1 - but it seems to be not possible.
Everthing I found so far was not accessible from the application.
Is there a way to do this?
have you tried using the consume() method on the buffer? That should prevent previous bytes from being returned again.
consume()
Hi,
I'm trying to clear the buffer of a BufferedUart on a STM32L1 - but it seems to be not possible.
Everthing I found so far was not accessible from the application.
Is there a way to do this?