Penn Electric Racing / Mbed 2 deprecated SystemManagement

Dependencies:   mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP

Fork of SystemManagement by Martin Deng

Revision:
30:91af74a299e1
Parent:
24:f58a3c0071c3
Child:
31:7eaa5e881b56
--- a/SysMngmt.cpp	Fri Nov 07 21:26:46 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +0,0 @@
-#include "mbed.h"
-#include "rtos.h"
-#include "IOobjects.h"
-#include "SerialDiagnostics.h"
-
-int main() {
-    wdt.kick();                         // Kick the watchdog timer
-    pc.baud(921600);
-    pc.printf("\r\n\r\nPCM Reset\r\n");
-    
-    // Did a watchdog reset occur since last power cycle?
-    if (wdt.checkFlag()) {
-        pc.printf("Watchdog Reset\r\n");
-    }
-    
-    Thread serialThread(SerialDiagnostics::thread_serialOut, 0, osPriorityNormal, 6000);
-    
-    while(1) {
-        wdt.kick();
-    }
-}