Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
68:e6431dfe2f30
Parent:
61:6012d61573ea
Child:
69:90fb53584459
--- a/ErrorHandler.h	Mon Mar 03 19:27:54 2014 +0000
+++ b/ErrorHandler.h	Mon Mar 03 21:57:58 2014 +0000
@@ -26,7 +26,7 @@
 #include <stdarg.h>
 
 // PC Console Support
-#include "MODSERIAL.h"
+#include "Serial.h"
 
 // LCD Support
 #include "C12832_lcd.h"
@@ -36,14 +36,14 @@
 
 class ErrorHandler {
     private:
-        MODSERIAL   *m_pc;
+        Serial   *m_pc;
         C12832_LCD  *m_lcd;
         char         m_message[MAX_LOG_MESSAGE+1];
         Mutex       *m_mutex;
         Mutex       *m_led_mutex;
         
     public:
-        ErrorHandler(MODSERIAL *pc,C12832_LCD *lcd);
+        ErrorHandler(Serial *pc,C12832_LCD *lcd);
        ~ErrorHandler();
        
        void log(const char *format, ...);