mirror of https://github.com/ARMmbed/mbed-os.git
reset us_ticker_callbackPending when disabling interrupts.
parent
53d2b152c4
commit
54dc3c1dcf
|
@ -187,6 +187,7 @@ void us_ticker_disable_interrupt(void)
|
|||
{
|
||||
if (us_ticker_callbackPending) {
|
||||
rtc1_disableCompareInterrupt();
|
||||
us_ticker_callbackPending = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue