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 b17601e commit 2fbc20fCopy full SHA for 2fbc20f
targets/TARGET_NORDIC/TARGET_NRF5x/TARGET_NRF52/us_ticker.c
@@ -90,8 +90,8 @@ void us_ticker_init(void)
90
91
NVIC_SetVector(TIMER1_IRQn, (uint32_t)us_ticker_irq_handler);
92
93
- NRFX_IRQ_PRIORITY_SET(nrfx_get_irq_number((void const*)TIMER1_IRQn), APP_IRQ_PRIORITY_HIGH);
94
- NRFX_IRQ_ENABLE(nrfx_get_irq_number((void const*)TIMER1_IRQn));
+ NRFX_IRQ_PRIORITY_SET(TIMER1_IRQn, APP_IRQ_PRIORITY_HIGH);
+ NRFX_IRQ_ENABLE(TIMER1_IRQn);
95
96
nrf_timer_task_trigger(NRF_TIMER1, NRF_TIMER_TASK_START);
97
0 commit comments