Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 4:582f7ce2f930, committed 2014-09-26
- 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 |
--- 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