Skip to content
Commit f5ae6ccf authored by Petr Sharshavin's avatar Petr Sharshavin Committed by Carles Cufí
Browse files

drivers: lora: fix busy after sx12xx_lora_test_cw



The LoRa modem has been staying in STATE_BUSY
after sx12xx_lora_test_cw() call
because Radio.SetTxContinuousWave() doesn't configure the PHY
to raise 'TX done' event.

It runs TxTimeoutTimer instead,
so we have to handle 'TX timeout' event to correctly release the modem.

This fix has been tested on custom board with STM32L4 and SX1276.

Signed-off-by: default avatarPetr Sharshavin <sharshavin@mail.ru>
parent a95811e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment