arch/arm/src/nrf52/nrf52_irq.c: fix compilation warning

This commit is contained in:
raiden00pl 2020-09-01 08:40:59 +02:00 committed by Matias N
parent 94d81611f4
commit a52f6529a0

View File

@ -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;