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_simplelink.cpp
- Revision:
- 45:50ab13d8f2dc
- Parent:
- 33:9e23b24fb4f3
diff -r 960b73df5981 -r 50ab13d8f2dc cc3000_simplelink.cpp
--- a/cc3000_simplelink.cpp Sun Oct 13 11:46:21 2013 +0200
+++ b/cc3000_simplelink.cpp Wed Nov 06 17:56:25 2013 +0100
@@ -68,20 +68,17 @@
case BOOTLOADER_PATCHES:
result = (void *)_fBootLoaderPatches;
break;
- // case WLAN_CB:
- // result = (void *)_fWlanCB;
- // break;
default:
result = 0;
}
return result;
}
-uint8_t *cc3000_simple_link::get_transmit_buffer() {
+uint8_t* cc3000_simple_link::get_transmit_buffer() {
return _tx_buffer;
}
-uint8_t *cc3000_simple_link::get_received_buffer() {
+uint8_t* cc3000_simple_link::get_received_buffer() {
return _rx_buffer;
}
@@ -170,8 +167,4 @@
_received_data = pointer;
}
-//void cc3000_simple_link::set_wlan_cb(tWlanCB fpointer) {
-// _fWlanCB = fpointer;
-//}
-
-}
+} // mbed_cc3000 namespace
