Skip to content

Commit 0753358

Browse files
committed
[RTC] Able to build without HAL module
Signed-off-by: Frederic Pillon <[email protected]>
1 parent c41d8af commit 0753358

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: cores/arduino/stm32/stm32yyxx_hal_conf.h

+4
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
#undef HAL_I2C_MODULE_ENABLED
2929
#endif
3030

31+
#if !defined(HAL_RTC_MODULE_DISABLED)
3132
#define HAL_RTC_MODULE_ENABLED
33+
#else
34+
#undef HAL_RTC_MODULE_ENABLED
35+
#endif
3236

3337
#if !defined(HAL_SPI_MODULE_DISABLED)
3438
#define HAL_SPI_MODULE_ENABLED

0 commit comments

Comments
 (0)