arch/dev/radio/dw1000/dw1000.c
/*---------------------------------------------------------------------------*/
/* Callback to process TX confirmation events */
Callback to process TX confirmation events
Callback to process TX confirmation events
static void
tx_conf_cb(const dwt_cb_data_t *cb_data)
{
#if DW1000_RANGING_ENABLED
  dw1000_rng_tx_conf_cb(cb_data);
#endif
  tx_done = 1; 
  frame_uploaded = 0;
  if(wait_ack_txdone) {
    wait_ack_txdone = false;
    process_poll(&dw1000_process);
  }
}
static void tx_conf_cb ( const dwt_cb_data_t * cb_data ) { #if DW1000_RANGING_ENABLED dw1000_rng_tx_conf_cb ( cb_data ) ; #endif tx_done = 1 ; frame_uploaded = 0 ; if ( wait_ack_txdone ) { wait_ack_txdone = false ; process_poll ( & dw1000_process ) ; } }
Callback to process TX confirmation events
Callback to process TX confirmation events
/* Set LED PC9 */ /*LEDS_TOGGLE(LEDS_ORANGE); */ /* to stop waiting in dw1000_transmit() */ /*if we are sending an auto ACK, signal the frame reception here */