mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-14 17:57:22 +00:00
porting: do not assing timer ISR prio using RIOT
This commit is contained in:
committed by
Andrzej Kaczmarek
parent
c3a2bd94db
commit
525af73e7d
@@ -499,7 +499,9 @@ hal_timer_init(int timer_num, void *cfg)
|
||||
|
||||
/* Disable IRQ, set priority and set vector in table */
|
||||
NVIC_DisableIRQ(irq_num);
|
||||
#ifndef RIOT_VERSION
|
||||
NVIC_SetPriority(irq_num, (1 << __NVIC_PRIO_BITS) - 1);
|
||||
#endif
|
||||
#if MYNEWT
|
||||
NVIC_SetVector(irq_num, (uint32_t)irq_isr);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user