cc3000 hostdriver with the mbed socket interface
Dependents: cc3000_hello_world_demo cc3000_simple_socket_demo cc3000_ntp_demo cc3000_ping_demo ... more
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() {
SimpleLink Wi-Fi CC3000
Avnet Wi-Go System