File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,8 +121,7 @@ typedef void(*voidCallbackPtr)(void *);
121
121
122
122
/* mapping the IRQn for the one-second interrupt depending on the soc */
123
123
#if defined(STM32F1xx ) || (defined(STM32F0xx ) && defined(RTC_CR_WUTE )) || \
124
- defined(STM32L0xx ) || defined(STM32L5xx ) || defined(STM32U5xx ) || \
125
- defined(STM32WLE4xx )
124
+ defined(STM32L0xx ) || defined(STM32L5xx ) || defined(STM32U5xx )
126
125
// specific WakeUp interrupt
127
126
#define ONESECOND_IRQn RTC_IRQn
128
127
#elif defined(STM32MP1xx )
@@ -131,7 +130,8 @@ typedef void(*voidCallbackPtr)(void *);
131
130
#elif defined(STM32G0xx )
132
131
// global RTC/TAMP interrupt
133
132
#define ONESECOND_IRQn RTC_TAMP_IRQn
134
- #elif (defined(STM32WL54xx ) || defined(STM32WL55xx )) && defined(CORE_CM0PLUS )
133
+ #elif defined(CORE_CM0PLUS ) && \
134
+ (defined(STM32WL54xx ) || defined(STM32WL55xx ) || defined(STM32WL5Mxx ))
135
135
// global RTC/LSS interrupt
136
136
#define ONESECOND_IRQn RTC_LSECSS_IRQn
137
137
#elif defined(RTC_CR_WUTE )
You can’t perform that action at this time.
0 commit comments