drivers/cc3000: Fix call to extint_register.

This commit is contained in:
Damien George 2015-01-07 23:54:19 +00:00
parent 3b51b3e90f
commit c223df5113

View File

@ -173,7 +173,7 @@ void SpiOpen(gcSpiHandleRx pfRxHandler)
CS_HIGH(); CS_HIGH();
// register EXTI // register EXTI
extint_register((mp_obj_t)PIN_IRQ, GPIO_MODE_IT_FALLING, GPIO_PULLUP, (mp_obj_t)&irq_callback_obj, true, NULL); extint_register((mp_obj_t)PIN_IRQ, GPIO_MODE_IT_FALLING, GPIO_PULLUP, (mp_obj_t)&irq_callback_obj, true);
extint_enable(PIN_IRQ->pin); extint_enable(PIN_IRQ->pin);
DEBUG_printf("SpiOpen finished; IRQ.pin=%d IRQ_LINE=%d\n", PIN_IRQ->pin, PIN_IRQ->pin); DEBUG_printf("SpiOpen finished; IRQ.pin=%d IRQ_LINE=%d\n", PIN_IRQ->pin, PIN_IRQ->pin);