Added mutex for multiple SPI devices on the same SPI bus
Fork of cc3000_hostdriver_mbedsocket by
Diff: Socket/Socket.cpp
- Revision:
- 8:4c42ca37ba33
- Parent:
- 7:99b75a51e168
- Child:
- 11:5e3771b29385
--- a/Socket/Socket.cpp Thu Sep 26 20:03:30 2013 +0000 +++ b/Socket/Socket.cpp Mon Sep 30 19:29:06 2013 +0000 @@ -101,6 +101,7 @@ } _cc3000_module->_socket.closesocket(_sock_fd); + _sock_fd = -1; return 0; }