mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
stm32_common/periph/rtc: fix RTSR_TR17 reg name
This commit is contained in:
parent
ffd4d9280e
commit
87c1c96a13
@ -219,7 +219,7 @@ int rtc_set_alarm(struct tm *time, rtc_alarm_cb_t cb, void *arg)
|
||||
#if defined (CPU_FAM_STM32L4)
|
||||
EXTI->RTSR |= EXTI_RTSR1_RT18;
|
||||
#else
|
||||
EXTI->RTSR |= EXTI_RTSR1_TR17;
|
||||
EXTI->RTSR |= EXTI_RTSR_TR17;
|
||||
#endif
|
||||
|
||||
#if defined(CPU_FAM_STM32F0) || defined(CPU_FAM_STM32L0)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user