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.
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000_event.cpp
- Revision:
- 17:14b6a3a2b622
- Parent:
- 14:28c8bbbea025
- Child:
- 20:30b6ed7bf8fd
- Child:
- 23:fed7f64dd520
diff -r f3676ae62f96 -r 14b6a3a2b622 cc3000_event.cpp --- 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: