Skip to content

Commit c223df5

Browse files
committed
drivers/cc3000: Fix call to extint_register.
1 parent 3b51b3e commit c223df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cc3000/src/ccspi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ void SpiOpen(gcSpiHandleRx pfRxHandler)
173173
CS_HIGH();
174174

175175
// register EXTI
176-
extint_register((mp_obj_t)PIN_IRQ, GPIO_MODE_IT_FALLING, GPIO_PULLUP, (mp_obj_t)&irq_callback_obj, true, NULL);
176+
extint_register((mp_obj_t)PIN_IRQ, GPIO_MODE_IT_FALLING, GPIO_PULLUP, (mp_obj_t)&irq_callback_obj, true);
177177
extint_enable(PIN_IRQ->pin);
178178

179179
DEBUG_printf("SpiOpen finished; IRQ.pin=%d IRQ_LINE=%d\n", PIN_IRQ->pin, PIN_IRQ->pin);

0 commit comments

Comments
 (0)