Firmware/src/communication/uart_handling.c
void uart_handling_rx_data(void)
{
  uint8_t rx_byte = 0;
  while (fifo_get_byte((fifo_struct_t*)&uart_rx_fifo, &rx_byte))
  {
    mavlink_parse_byte(rx_byte);
  }
}
// Check if data present in RX FIFO
// Should be called periodically
Check if data present in RX FIFO
Should be called periodically
Check if data present in RX FIFO Should be called periodically
void uart_handling_rx_data(void)
{
  uint8_t rx_byte = 0;
  while (fifo_get_byte((fifo_struct_t*)&uart_rx_fifo, &rx_byte))
  {
    mavlink_parse_byte(rx_byte);
  }
}
void uart_handling_rx_data ( void ) { uint8_t rx_byte = 0 ; while ( fifo_get_byte ( ( fifo_struct_t * ) & uart_rx_fifo , & rx_byte ) ) { mavlink_parse_byte ( rx_byte ) ; } }
Check if data present in RX FIFO
Should be called periodically
Check if data present in RX FIFO Should be called periodically