Added mutex for multiple SPI devices on the same SPI bus
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000_event.cpp
- Revision:
- 22:d23c59fec0dc
- Parent:
- 20:30b6ed7bf8fd
- Child:
- 26:456f73ed2a75
--- a/cc3000_event.cpp Thu Oct 03 17:15:45 2013 +0200
+++ b/cc3000_event.cpp Thu Oct 03 20:56:45 2013 +0000
@@ -44,7 +44,7 @@
namespace mbed_cc3000 {
-#if CC3000_DEBUG == 1
+#ifdef CC3000_DEBUG_HCI_RX
const char *HCI_EVENT_STR[] =
{
"Socket",
@@ -178,7 +178,7 @@
static void hci_event_debug_print(uint16_t hciEventNo)
{
-#if CC3000_DEBUG == 1
+#ifdef CC3000_DEBUG_HCI_RX
if ((hciEventNo > HCI_CMND_SOCKET_BASE) && ( hciEventNo <= HCI_CMND_MDNS_ADVERTISE))
{
DBG_HCI("Event Received : 0x%04X - %s", hciEventNo, HCI_EVENT_STR[hciEventNo-HCI_CMND_SOCKET]);
