Added mutex for multiple SPI devices on the same SPI bus
Fork of cc3000_hostdriver_mbedsocket by
Diff: cc3000_spi.cpp
- Revision:
- 33:9e23b24fb4f3
- Parent:
- 20:30b6ed7bf8fd
- Child:
- 34:1ad18123bf11
--- a/cc3000_spi.cpp Sun Oct 06 18:25:12 2013 +0200
+++ b/cc3000_spi.cpp Tue Oct 08 07:04:07 2013 +0200
@@ -85,10 +85,6 @@
}
void cc3000_spi::close() {
- if (_simple_link.get_received_buffer() != 0)
- {
- _simple_link.set_received_buffer(0);
- }
wlan_irq_disable();
}
