Skip to content

Commit 535adc5

Browse files
committed
fix(wb0): HAL radio module guards
Signed-off-by: Frederic Pillon <[email protected]>
1 parent a0fe1b3 commit 535adc5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

system/Drivers/STM32WB0x_HAL_Driver/Src/stm32wb0x_hal_radio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/** @addtogroup STM32WB0x_HAL_Driver
2323
* @{
2424
*/
25+
#ifdef HAL_RADIO_MODULE_ENABLED
2526

2627
/** @addtogroup RADIO
2728
* @{
@@ -1790,7 +1791,7 @@ void HAL_RADIO_TXRX_SEQ_IRQHandler(void)
17901791
/**
17911792
* @}
17921793
*/
1793-
1794+
#endif /* HAL_RADIO_MODULE_ENABLED */
17941795
/**
17951796
* @}
17961797
*/

system/Drivers/STM32WB0x_HAL_Driver/Src/stm32wb0x_hal_radio_timer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
/** @addtogroup STM32WB0x_HAL_Driver
5757
* @{
5858
*/
59-
59+
#ifdef HAL_RADIO_TIMER_MODULE_ENABLED
6060
/** @addtogroup RADIO_TIMER
6161
* @brief HAL RADIO TIMER module driver
6262
* @{
@@ -1844,7 +1844,7 @@ void HAL_RADIO_TIMER_ERROR_IRQHandler(void)
18441844
/**
18451845
* @}
18461846
*/
1847-
1847+
#endif /* HAL_RADIO_TIMER_MODULE_ENABLED */
18481848
/**
18491849
* @}
18501850
*/

0 commit comments

Comments
 (0)