WNCInterface

Dependencies:   WncControllerK64F

Fork of WNCInterface by Avnet

Revision:
9:9f0578ff157a
Parent:
8:4b38bfb1704d
Child:
10:9d8b23b60fd6
--- a/WNCInterface.h	Fri Oct 07 00:36:47 2016 +0000
+++ b/WNCInterface.h	Fri Oct 07 13:26:00 2016 +0000
@@ -81,6 +81,7 @@
 
 #define M_LOCK  {extern Mutex _WNCLock; _WNCLock.lock();}
 #define M_ULOCK {extern Mutex _WNCLock; _WNCLock.unlock();}
+#define CHK_WNCFE(x,y)    if( x ){M_ULOCK; FATAL_WNC_ERROR(y);}
 
 // Because the WncController has intermixed socket & interface functionallity
 // will need to make the Socket class a friend of the Interface class. This