version_2.0

Dependents:   cc3000_ping_demo_try_2

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
45:50ab13d8f2dc
Parent:
20:30b6ed7bf8fd
--- a/cc3000_netapp.cpp	Sun Oct 13 11:46:21 2013 +0200
+++ b/cc3000_netapp.cpp	Wed Nov 06 17:56:25 2013 +0100
@@ -78,7 +78,7 @@
     // Wait for command complete event
     _event.simplelink_wait_event(HCI_NETAPP_DHCP, &scRet);
 
-    return(scRet);
+    return scRet;
 }
 
 #ifndef CC3000_TINY_DRIVER
@@ -122,7 +122,7 @@
     // Wait for command complete event
     _event.simplelink_wait_event(HCI_NETAPP_SET_TIMERS, &scRet);
 
-    return(scRet);
+    return scRet;
 }
 
 int32_t cc3000_netapp::ping_send(uint32_t *ip, uint32_t ping_attempts, uint32_t ping_size, uint32_t ping_timeout) {
@@ -145,7 +145,7 @@
     // Wait for command complete event
     _event.simplelink_wait_event(HCI_NETAPP_PING_SEND, &scRet);
 
-    return(scRet);
+    return scRet;
 }
 
 void cc3000_netapp::ping_report() {
@@ -176,7 +176,7 @@
     // Wait for command complete event
     _event.simplelink_wait_event(HCI_NETAPP_PING_STOP, &scRet);
 
-    return(scRet);
+    return scRet;
 }
 
 int32_t cc3000_netapp::arp_flush() {
@@ -192,8 +192,8 @@
     // Wait for command complete event
     _event.simplelink_wait_event(HCI_NETAPP_ARP_FLUSH, &scRet);
 
-    return(scRet);
+    return scRet;
 }
 #endif
 
-} /* end of cc3000 namespace */
+} // mbed_cc3000