Error Handler/Logger construct for mbed applications

Dependents:  

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Wed Sep 24 04:12:51 2014 +0000
Parent:
8:cc73ab137ae9
Commit message:
updates for mbed app shield

Changed in this revision

ErrorHandler.cpp Show annotated file Show diff for this revision Revisions of this file
ErrorHandler.h Show annotated file Show diff for this revision Revisions of this file
diff -r cc73ab137ae9 -r cec063a0b9a9 ErrorHandler.cpp
--- a/ErrorHandler.cpp	Tue Sep 23 16:56:15 2014 +0000
+++ b/ErrorHandler.cpp	Wed Sep 24 04:12:51 2014 +0000
@@ -96,14 +96,12 @@
             this->m_pc->printf("\r\n");
        }
         
-#if _NXP_PLATFORM || _UBLOX_PLATFORM
        // Log to the LCD panel...
        if (this->m_lcd != NULL) {
             this->m_lcd->cls();
             this->m_lcd->locate(0,0);
             this->m_lcd->printf(this->m_message);
        }
-#endif
     }
  } 
  
diff -r cc73ab137ae9 -r cec063a0b9a9 ErrorHandler.h
--- a/ErrorHandler.h	Tue Sep 23 16:56:15 2014 +0000
+++ b/ErrorHandler.h	Wed Sep 24 04:12:51 2014 +0000
@@ -41,7 +41,8 @@
  #endif
  
  #if _K64F_PLATFORM
-   #define LCDCLASS      void       // not used
+   #include "C12832.h"
+   #define LCDCLASS      C12832       // not used
  #endif
  
  /**