We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b956bb commit f42b3e4Copy full SHA for f42b3e4
connectivity/drivers/lora/TARGET_STM32WL/STM32WL_LoRaRadio.cpp
@@ -279,6 +279,7 @@ void HAL_SUBGHZ_MspInit(SUBGHZ_HandleTypeDef *subghzHandle)
279
static void RadioIrqProcess()
280
{
281
radio_irq_masks_t irq_status;
282
+ core_util_critical_section_enter();
283
284
irq_status = (radio_irq_masks_t)STM32WL_LoRaRadio::get_irq_status();
285
/* clear IRQs lines after recovering their status */
@@ -300,6 +301,7 @@ static void RadioIrqProcess()
300
301
if ((irq_status & IRQ_RX_TX_TIMEOUT) == IRQ_RX_TX_TIMEOUT) {
302
STM32WL_LoRaRadio::HAL_SUBGHZ_RxTxTimeoutCallback();
303
}
304
+ core_util_critical_section_exit();
305
306
307
0 commit comments