Skip to content

Commit 6d11fe3

Browse files
raiden00plxiaoxiang781216
authored andcommitted
arch/nrf53/nrf53_gpiote.c: fix compilation for GPIOTE1
1 parent 934602b commit 6d11fe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/src/nrf53/nrf53_gpiote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ static int nrf53_gpiote_isr(int irq, void *context, void *arg)
154154
/* Get GPIOTE instnace */
155155

156156
#ifdef CONFIG_NRF53_HAVE_GPIOTE1
157-
ints = (irq == NRF53_IRQ_GPIOTE0) ? 0 : 1;
157+
inst = (irq == NRF53_IRQ_GPIOTE0) ? 0 : 1;
158158
#else
159159
inst = 0;
160160
#endif

0 commit comments

Comments
 (0)