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.
2 parents f51bbe0 + 94a08e9 commit 171fe5aCopy full SHA for 171fe5a
rtos/source/TARGET_CORTEX/mbed_rtx_idle.cpp
@@ -61,11 +61,9 @@ extern "C" {
61
IRQn_Type irq = OsTimer::get_irq_number();
62
63
NVIC_SetPriority(irq, 0xFF);
64
-#ifdef NVIC_RAM_VECTOR_ADDRESS
65
NVIC_SetVector(irq, (uint32_t)handler);
66
-#else
67
MBED_ASSERT(handler == (IRQHandler_t)NVIC_GetVector(irq));
68
-#endif
+
69
if (irq >= 0) {
70
NVIC_EnableIRQ(irq);
71
}
0 commit comments