Skip to content

Commit 00c4cb6

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

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
* @{
@@ -1846,7 +1846,7 @@ void HAL_RADIO_TIMER_ERROR_IRQHandler(void)
18461846
/**
18471847
* @}
18481848
*/
1849-
1849+
#endif /* HAL_RADIO_TIMER_MODULE_ENABLED */
18501850
/**
18511851
* @}
18521852
*/

0 commit comments

Comments
 (0)