Library for inclusion of main.cpp

Files at this revision

API Documentation at this revision

Comitter:
ansond
Date:
Fri Sep 26 04:44:25 2014 +0000
Parent:
3:acea67392757
Commit message:
updates for new logger

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r acea67392757 -r 582f7ce2f930 main.cpp
--- a/main.cpp	Wed Sep 17 16:38:59 2014 +0000
+++ b/main.cpp	Fri Sep 26 04:44:25 2014 +0000
@@ -17,7 +17,7 @@
  */
  
  #include "Definitions.h"
- #include "ErrorHandler.h"
+ #include "Logger.h"
  
  // appboard LCD Panel
  #if _NXP_PLATFORM
@@ -53,11 +53,14 @@
  // Main Task...
  void mainTask(void const *v) {
     // create our object instances 
-#if _NXP_PLATFORM || _UBLOX_PLATFORM
-    ErrorHandler logger(&pc,&lcd);
+#if _NXP_PLATFORM 
+    Logger logger(&pc,&lcd);
+#endif
+#if _UBLOX_PLATFORM
+    Logger logger(&pc,&lcd);
 #endif
 #if _K64F_PLATFORM
-    ErrorHandler logger(&pc,NULL);
+    Logger logger(&pc,NULL);
 #endif
     
     // announce