publish final code
Dependencies: WncControllerK64F
Fork of WNCInterface by
Diff: Socket/Endpoint.cpp
- Revision:
- 9:9f0578ff157a
- Parent:
- 7:fded23f50479
--- a/Socket/Endpoint.cpp Fri Oct 07 00:36:47 2016 +0000 +++ b/Socket/Endpoint.cpp Fri Oct 07 13:26:00 2016 +0000 @@ -47,8 +47,7 @@ char address[5]; int rslt; - if( WNCInterface::_pwnc->getWncStatus() == FATAL_FLAG ) - FATAL_WNC_ERROR(fail); + CHK_WNCFE(( WNCInterface::_pwnc->getWncStatus() == FATAL_FLAG ), fail); reset_address(); _epAddr.port = port; //go ahead and save the port