Added mutex for multiple SPI devices on the same SPI bus

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
21:fb34ac8d9af5
Parent:
0:615c697c33b0
Child:
23:fed7f64dd520
diff -r 7e22775eadb9 -r fb34ac8d9af5 cc3000_hci.cpp
--- a/cc3000_hci.cpp	Wed Oct 02 21:57:28 2013 +0000
+++ b/cc3000_hci.cpp	Thu Oct 03 20:22:45 2013 +0000
@@ -53,6 +53,8 @@
 uint16_t  cc3000_hci::command_send(uint16_t op_code, uint8_t *buffer, uint8_t length) {
     unsigned char *stream;
 
+    DBG_HCI_CMD("Command Sent : 0x%04X", op_code);
+    
     stream = (buffer + SPI_HEADER_SIZE);
 
     UINT8_TO_STREAM(stream, HCI_TYPE_CMND);