Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: CC3000HostDriver mbed
Diff: CC3000Core.cpp
- Revision:
- 1:ee5703f58be3
- Parent:
- 0:305844973572
- Child:
- 2:17c37c0b0534
diff -r 305844973572 -r ee5703f58be3 CC3000Core.cpp
--- a/CC3000Core.cpp Fri Aug 02 15:14:41 2013 +0000
+++ b/CC3000Core.cpp Sun Aug 25 16:30:45 2013 +0000
@@ -139,10 +139,20 @@
}
void WlanInterruptEnable(void) {
+
+ int8_t val;
irq.fall(&IntSpi);
+
+ //This check is required due to IRQ being turned off during blocking proceedures.
+ //Check if CC3000 irq is low, and service.
+ val = ReadWlanInterruptPin();
+ if (!val)
+ {
+ IntSpi();
+ }
//__enable_irq(); //Enable Interrupts
//SPIInterruptsEnabled = 1;
- }
+}
void WlanInterruptDisable(void) {