Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: ErrorHandler.h
- Revision:
- 68:e6431dfe2f30
- Parent:
- 61:6012d61573ea
- Child:
- 69:90fb53584459
diff -r 08e0f3f46aa0 -r e6431dfe2f30 ErrorHandler.h --- 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, ...);