publish final code
Dependencies: WncControllerK64F
Fork of WNCInterface by
Diff: Socket/TCPSocketConnection.cpp
- Revision:
- 25:78d2aed96783
- Parent:
- 11:75cf1e1c921c
--- 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; }