Skip to content

Commit 7b77e50

Browse files
committed
STM32 LPTICKER : RTC wake up timer is reset before settign a new one
1 parent 7bdfc07 commit 7b77e50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/TARGET_STM/lp_ticker.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ uint32_t lp_ticker_read(void)
263263

264264
void lp_ticker_set_interrupt(timestamp_t timestamp)
265265
{
266+
lp_ticker_disable_interrupt();
266267
rtc_set_wake_up_timer(timestamp);
267268
}
268269

0 commit comments

Comments
 (0)