mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
stm32-sx1280: inform sx1280 about auto-tx
This commit is contained in:
parent
af800f4806
commit
7ac2672cfb
@ -693,6 +693,9 @@ static void radio_on_rx_done(void ){
|
||||
SX1280HalWriteBuffer( SX1280_TX0_OFFSET, (uint8_t *) &ctx.tx_pdu->header, 2 + ctx.tx_pdu->len );
|
||||
}
|
||||
|
||||
// update operating state
|
||||
SX1280AutoTxWillStart();
|
||||
|
||||
// preamble (1) + aa (4) + header (1) + len (1) + payload (len) + crc (3) -- ISR handler ca. 50 us
|
||||
uint16_t timestamp_delay = (10 + rx_packet->len) * 8 - 50;
|
||||
uint16_t packet_start_ticks = packet_end_ticks - US_TO_TICKS(timestamp_delay);
|
||||
|
Loading…
x
Reference in New Issue
Block a user