arch/nrf53/nrf53_gpiote.c: fix compilation for GPIOTE1

This commit is contained in:
raiden00pl 2023-05-22 17:14:02 +02:00 committed by Xiang Xiao
parent 934602b76e
commit 6d11fe315d

View File

@ -154,7 +154,7 @@ static int nrf53_gpiote_isr(int irq, void *context, void *arg)
/* Get GPIOTE instnace */
#ifdef CONFIG_NRF53_HAVE_GPIOTE1
ints = (irq == NRF53_IRQ_GPIOTE0) ? 0 : 1;
inst = (irq == NRF53_IRQ_GPIOTE0) ? 0 : 1;
#else
inst = 0;
#endif