My fork

Dependencies:   WncControllerK64F

Fork of WNCInterface by Jan Korycan

Files at this revision

API Documentation at this revision

Comitter:
JMF
Date:
Fri Oct 07 13:54:09 2016 +0000
Parent:
9:9f0578ff157a
Child:
11:75cf1e1c921c
Commit message:
changed the WNC FAILED message to output a CRLF first so the message isn't embedded in user output.

Changed in this revision

WNCInterface.h Show annotated file Show diff for this revision Revisions of this file
--- a/WNCInterface.h	Fri Oct 07 13:26:00 2016 +0000
+++ b/WNCInterface.h	Fri Oct 07 13:54:09 2016 +0000
@@ -31,7 +31,7 @@
 #ifndef _WNCINTERFACE_H_
 #define _WNCINTERFACE_H_
 
-#define WNC_DEBUG   1   //1=enable the WNC startup debug output
+#define WNC_DEBUG   0   //1=enable the WNC startup debug output
                                 //0=disable the WNC startup debug output
 #define STOP_ON_FE  1   //1=hang forever if a fatal error occurs
                 //0=simply return failed response for all socket calls
@@ -68,7 +68,7 @@
 #endif
 
 #if DISPLAY_FE == 1
-#define PFE     {extern MODSERIAL *_dbgout;if(_dbgout)_dbgout->printf(RSTMSG "WNC FAILED @ %s\r\n", FATAL_STR);}
+#define PFE     {extern MODSERIAL *_dbgout;if(_dbgout)_dbgout->printf(RSTMSG "\r\n>>WNC FAILED @ %s\r\n", FATAL_STR);}
 #else
 #define PFE
 #endif