We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 810d534 commit 0c8527fCopy full SHA for 0c8527f
targets/TARGET_ARM_FM/TARGET_FVP_MPS2/us_ticker.c
@@ -62,12 +62,9 @@ void us_ticker_init(void)
62
63
void us_ticker_free(void)
64
{
65
- if (!us_ticker_inited) {
66
- return;
67
- }
68
-
69
US_TICKER_TIMER1->TimerControl &= ~CMSDK_DUALTIMER1_CTRL_EN_Msk; // disable TIMER1
70
US_TICKER_TIMER2->TimerControl &= ~CMSDK_DUALTIMER2_CTRL_EN_Msk; // disable TIMER2
+ us_ticker_disable_interrupt();
71
us_ticker_inited = 0;
72
}
73
0 commit comments