summaryrefslogtreecommitdiff
path: root/chip/stm32/clock-f.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/clock-f.c')
-rw-r--r--chip/stm32/clock-f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/clock-f.c b/chip/stm32/clock-f.c
index 7f1fa8e03e..025eaf0246 100644
--- a/chip/stm32/clock-f.c
+++ b/chip/stm32/clock-f.c
@@ -257,7 +257,7 @@ void __rtc_alarm_irq(void)
#ifdef CONFIG_HOSTCMD_RTC
/* Do not wake up the host if the alarm was not set by the host */
if (host_rtc_alarm_set) {
- host_set_events(EC_HOST_EVENT_MASK(EC_HOST_EVENT_RTC));
+ host_set_single_event(EC_HOST_EVENT_RTC);
host_rtc_alarm_set = 0;
}
#endif