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.
Dependencies: WncControllerK64F
Fork of WNCInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 24:78d2aed96783
- Parent:
- 11:75cf1e1c921c
- Child:
- 25:52bad4105cac
--- a/Socket/TCPSocketConnection.cpp	Tue Dec 06 22:38:35 2016 +0000
+++ b/Socket/TCPSocketConnection.cpp	Tue Dec 06 22:51:30 2016 +0000
@@ -65,7 +65,7 @@
  
     if( s == WncController_fk::WncController::WNC_ON ) {
       M_LOCK;
-      if( WNCInterface::_pwnc->write(0, data, length) )
+      if( WNCInterface::_pwnc->write(0, (const std::uint8_t*)data, length) )
         ret = length;
       M_ULOCK;
       }
    