arch/dev/radio/dw1000/dw1000.c
/*---------------------------------------------------------------------------*/
/* Callback to process RX error events */
Callback to process RX error events
Callback to process RX error events
static void
rx_err_cb(const dwt_cb_data_t *cb_data)
{
#if DW1000_RANGING_ENABLED
  dw1000_range_reset();
#endif
#if DEBUG
  dw_dbg_event = RECV_ERROR;
  radio_status = cb_data->status;
  process_poll(&dw1000_dbg_process);
#endif
  dw1000_on();
}
static void rx_err_cb ( const dwt_cb_data_t * cb_data ) { #if DW1000_RANGING_ENABLED dw1000_range_reset ( ) ; #endif #if DEBUG dw_dbg_event = RECV_ERROR ; radio_status = cb_data -> status ; process_poll ( & dw1000_dbg_process ) ; #endif dw1000_on ( ) ; }
Callback to process RX error events
Callback to process RX error events
/* Set LED PC8 */ /*LEDS_TOGGLE(LEDS_RED); // not informative with frame filtering */