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_wlan.cpp
- Revision:
- 34:1ad18123bf11
- Parent:
- 33:9e23b24fb4f3
- Child:
- 45:50ab13d8f2dc
--- a/cc3000_wlan.cpp Tue Oct 08 07:04:07 2013 +0200
+++ b/cc3000_wlan.cpp Tue Oct 08 13:13:05 2013 +0200
@@ -84,7 +84,7 @@
// Check the IRQ line
spi_irq_state = _spi.wlan_irq_read();
// ASIC 1273 chip enable: toggle WLAN EN line
- _spi.write_wlan_en(WLAN_ENABLE);
+ _spi.set_wlan_en(WLAN_ENABLE);
if (spi_irq_state)
{
@@ -113,7 +113,7 @@
void cc3000_wlan::stop() {
// ASIC 1273 chip disable
- _spi.write_wlan_en( WLAN_DISABLE );
+ _spi.set_wlan_en( WLAN_DISABLE );
// Wait till IRQ line goes high...
while(_spi.wlan_irq_read() == 0)
