cleaned version of TFT + Ethernet

Dependents:   XPL-App4_cleanup XPL-App5

Files at this revision

API Documentation at this revision

Comitter:
richnash
Date:
Sun Oct 28 11:36:31 2018 +0000
Parent:
0:9688737bf8cd
Commit message:
app5 good base

Changed in this revision

nihh_utils.cpp Show annotated file Show diff for this revision Revisions of this file
nihh_utils.h Show annotated file Show diff for this revision Revisions of this file
--- a/nihh_utils.cpp	Tue Oct 09 17:37:23 2018 +0000
+++ b/nihh_utils.cpp	Sun Oct 28 11:36:31 2018 +0000
@@ -124,7 +124,7 @@
 //      -3  incorrect start position
 //      +?  failed validation of parameter ?    
 //*******************************************************************************
-int UTILS_CheckParams( char * pszMask, int iTokens, char * pszTokens[], int iStartParam ) // , int iBlanks )
+int UTILS_CheckParams( const char * pszMask, int iTokens, char * pszTokens[], int iStartParam ) // , int iBlanks )
 {
     int iFormatChars = strlen(pszMask);
     int i;
--- a/nihh_utils.h	Tue Oct 09 17:37:23 2018 +0000
+++ b/nihh_utils.h	Sun Oct 28 11:36:31 2018 +0000
@@ -11,9 +11,7 @@
     #define PARAMS_NOBLANKS         0
     
     #define RC_ERROR                -1
-    
-    #define NULL 0
-    
+        
     // Public Functions =================
     int     UTILS_UDPSendString     ( char *, char *, int               );  // 
     int     UTILS_UDPSendByte       ( char *, int, int                  );  // 
@@ -31,4 +29,4 @@
     char *          UTILS_replace_char_in_string    (char *, char, char         );
     char *          UTILS_strip_char_in_string      (char *, char               );
 
-#endif    
\ No newline at end of file
+#endif