arch/dev/radio/dw1000/dw1000.c
/*---------------------------------------------------------------------------*/
/* Callback to process RX timeout events */
Callback to process RX timeout events
Callback to process RX timeout events
static void
rx_to_cb(const dwt_cb_data_t *cb_data)
{
#if DW1000_RANGING_ENABLED
  dw1000_range_reset();
#endif
#if DEBUG
  dw_dbg_event = RECV_TO;
  radio_status = cb_data->status;
  process_poll(&dw1000_dbg_process);
#endif
  dw1000_on();
  LEDS_TOGGLE(LEDS_YELLOW);
}
static void rx_to_cb ( const dwt_cb_data_t * cb_data ) { #if DW1000_RANGING_ENABLED dw1000_range_reset ( ) ; #endif #if DEBUG dw_dbg_event = RECV_TO ; radio_status = cb_data -> status ; process_poll ( & dw1000_dbg_process ) ; #endif dw1000_on ( ) ; LEDS_TOGGLE ( LEDS_YELLOW ) ; }
Callback to process RX timeout events
Callback to process RX timeout events
/* Set LED PC7 */