version_2.0

Dependents:   cc3000_ping_demo_try_2

Fork of cc3000_hostdriver_mbedsocket by Martin Kojtal

Revision:
34:1ad18123bf11
Parent:
33:9e23b24fb4f3
Child:
42:bd2c631a031a
--- a/cc3000_spi.cpp	Tue Oct 08 07:04:07 2013 +0200
+++ b/cc3000_spi.cpp	Tue Oct 08 13:13:05 2013 +0200
@@ -69,17 +69,6 @@
     NVIC_DisableIRQ(_irq_port);
 }
 
-void cc3000_spi::wlan_irq_set(uint8_t value) {
-    if (value)
-    {
-        _wlan_en = 1;
-    }
-    else
-    {
-        _wlan_en = 0;
-    }
-}
-
 uint32_t cc3000_spi::wlan_irq_read() {
     return _wlan_irq.read();
 }
@@ -246,7 +235,7 @@
     return (0);
 }
 
-void cc3000_spi::write_wlan_en(uint8_t value) {
+void cc3000_spi::set_wlan_en(uint8_t value) {
     if (value) {
         _wlan_en = 1;
     } else {