Added mutex for multiple SPI devices on the same SPI bus
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000.h
- Revision:
- 24:ba3fa29197ac
- Parent:
- 23:fed7f64dd520
- Child:
- 25:4d4072a9cc12
--- a/cc3000.h Thu Oct 03 21:00:00 2013 +0000
+++ b/cc3000.h Thu Oct 03 21:02:56 2013 +0000
@@ -53,9 +53,14 @@
/** Enable debug messages, comment out the ones you don't want
*/
+
+// Debug - Socket interface messages
#define CC3000_DEBUG_SOCKET
+// Debug - HCI TX messages
#define CC3000_DEBUG_HCI_TX
+// Debug - HCI Rx messages
#define CC3000_DEBUG_HCI_RX
+// Debug - General Debug
#define CC3000_DEBUG
// Add color too the debug messages, requires a VT100 terminal like putty, comment out to remove
@@ -107,7 +112,7 @@
#endif
#else
- #define DBG_HCI_CMD(x, ...)
+ #define DBG_CC(x, ...)
#endif
namespace mbed_cc3000 {
