cc3000 driver with expanded buffers.

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
17:14b6a3a2b622
Parent:
14:28c8bbbea025
Child:
20:30b6ed7bf8fd
Child:
23:fed7f64dd520
--- a/cc3000_event.cpp	Wed Oct 02 16:00:41 2013 +0000
+++ b/cc3000_event.cpp	Wed Oct 02 20:29:31 2013 +0200
@@ -176,10 +176,10 @@
     }
 }
 
-void cc3000_event::hci_event_debug_print ( uint16_t hciEventNo )
+static void hci_event_debug_print(uint16_t hciEventNo)
 {
 #if CC3000_DEBUG == 1
-    if (( hciEventNo > HCI_CMND_SOCKET_BASE) && ( hciEventNo <= HCI_CMND_MDNS_ADVERTISE))
+    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]);
     }
@@ -226,7 +226,7 @@
                     STREAM_TO_UINT8(received_data, HCI_DATA_LENGTH_OFFSET, length);
 
                     hci_event_debug_print( received_op_code );
-                    
+
                     switch(received_op_code)
                     {
                     case HCI_CMND_READ_BUFFER_SIZE: