Skip to content

Commit 666ba51

Browse files
committed
fix: wrong definition
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 834d9b9 commit 666ba51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/STM32RTC.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
#endif
4444
#include "rtc.h"
4545
// Check if RTC HAL is enabled
46-
#if (!defined(HAL_RTC_MODULE_ENABLED) && (!defined(USE_HAL_ADC_MODULE) || \
47-
(defined(USE_HAL_ADC_MODULE) && (USE_HAL_ADC_MODULE == 0))))
46+
#if (!defined(HAL_RTC_MODULE_ENABLED) && (!defined(USE_HAL_RTC_MODULE) || \
47+
(defined(USE_HAL_RTC_MODULE) && (USE_HAL_RTC_MODULE == 0))))
4848
#error "HAL RTC module is not enabled."
4949
#endif
5050
#include <time.h>

0 commit comments

Comments
 (0)