cc3000 hostdriver with the mbed socket interface
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000_spi.cpp
- Revision:
- 42:bd2c631a031a
- Parent:
- 34:1ad18123bf11
- Child:
- 44:960b73df5981
diff -r eb1999bd50fb -r bd2c631a031a cc3000_spi.cpp --- a/cc3000_spi.cpp Sat Oct 12 21:03:45 2013 +0000 +++ b/cc3000_spi.cpp Sat Oct 12 21:53:28 2013 +0000 @@ -63,6 +63,9 @@ void cc3000_spi::wlan_irq_enable() { NVIC_EnableIRQ(_irq_port); + + if(wlan_irq_read() == 0) + WLAN_IRQHandler(); } void cc3000_spi::wlan_irq_disable() {