arch/arm/src/nrf52/nrf52_irq.c: fix compilation warning
This commit is contained in:
parent
94d81611f4
commit
a52f6529a0
@ -312,7 +312,7 @@ static int nrf52_irqinfo(int irq, uintptr_t *regaddr, uint32_t *bit,
|
||||
void up_irqinitialize(void)
|
||||
{
|
||||
uint32_t regaddr;
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
#if defined(CONFIG_DEBUG_FEATURES) && !defined(CONFIG_ARMV7M_USEBASEPRI)
|
||||
uint32_t regval;
|
||||
#endif
|
||||
int num_priority_registers;
|
||||
|
Loading…
Reference in New Issue
Block a user