mirror of https://github.com/ARMmbed/mbed-os.git
STM32 LPTICKER : RTC wake up timer is reset before settign a new one
parent
37404941a1
commit
09aac9b0d5
|
@ -260,6 +260,7 @@ uint32_t lp_ticker_read(void)
|
|||
|
||||
void lp_ticker_set_interrupt(timestamp_t timestamp)
|
||||
{
|
||||
lp_ticker_disable_interrupt();
|
||||
rtc_set_wake_up_timer(timestamp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue