Skip to content

Commit 09aac9b

Browse files
jeromecoutantCruz Monrreal II
authored andcommitted
STM32 LPTICKER : RTC wake up timer is reset before settign a new one
1 parent 3740494 commit 09aac9b

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
@@ -260,6 +260,7 @@ uint32_t lp_ticker_read(void)
260260

261261
void lp_ticker_set_interrupt(timestamp_t timestamp)
262262
{
263+
lp_ticker_disable_interrupt();
263264
rtc_set_wake_up_timer(timestamp);
264265
}
265266

0 commit comments

Comments
 (0)