cpu/avr/radio/rf230bb/rf230bb.c (rf230_transmit): extend comment on tx sequence
Explain that the transmission is intentionally started before copying the frame to the buffer.
This commit is contained in:
parent
e13d69cf41
commit
be0a296049
|
@ -964,7 +964,9 @@ rf230_transmit(unsigned short payload_len)
|
|||
/* No interrupts across frame download! */
|
||||
HAL_ENTER_CRITICAL_REGION();
|
||||
|
||||
/* Toggle the SLP_TR pin to initiate the frame transmission */
|
||||
/* Toggle the SLP_TR pin to initiate the frame transmission, then transfer
|
||||
* the frame. We have about 16 us + the on-air transmission time of 40 bits
|
||||
* (for the synchronization header) before the transceiver sends the PHR. */
|
||||
hal_set_slptr_high();
|
||||
hal_set_slptr_low();
|
||||
hal_frame_write(buffer, total_len);
|
||||
|
|
Loading…
Reference in a new issue