Copy link
@flixr

flixr Sep 7, 2015

Member

as this is a ring buffer, it couldn't have worked this way...
It should be implemented like in e.g. the uart_check_free_space function: https://github.com/paparazzi/paparazzi/blob/master/sw/airborne/mcu_periph/uart.c#L215