Library for Modtronix NZ32 STM32 boards, like the NZ32-SC151, NZ32-SB072, NZ32-SE411 and others

Revision:
12:0303f1aef603
Parent:
4:43abdd8eda40
Child:
13:328bfac0e686
--- a/mx_default_debug.h	Thu Sep 17 11:50:51 2015 +1000
+++ b/mx_default_debug.h	Thu Sep 17 11:53:01 2015 +1000
@@ -81,6 +81,9 @@
     #endif
 #endif
 
+#if !defined(MX_DEBUG_IS_POINTER)
+#define MX_DEBUG_IS_POINTER 0
+#endif
 
 ///////////////////////////////////////////////////////////////////////////////
 // Following is for main file - file that has mxDebug() defined in it
@@ -101,7 +104,7 @@
 
 //IMPORTANT, when enabling debugging, it is very important to note the following:
 //- If (MX_DEBUG_IS_POINTER==1), ensure there is global Stream pointer defined somewhere in code to override "pMxDebug = NULL" below!
-//- If (MX_DEBUG_IS_POINTER==0), define a mxDebug() function somewhere in code to handel debug output
+//- If (MX_DEBUG_IS_POINTER==0), define a mxDebug() function somewhere in code to handle debug output
 
 #if (DEBUG_ENABLE==1) && !defined(NDEBUG)
 //Alternative method in stead of using NULL below. This requires to create derived Stream class in each file we want to use debugging