Main Program

Dependencies:   mbed AQM1602 HMC6352 PID

Revision:
31:0b0f64831771
Parent:
29:b413b0bb07a1
Child:
32:247115c03176
--- a/main_processing/setup_command_active/command.cpp	Mon Feb 01 11:43:58 2016 +0000
+++ b/main_processing/setup_command_active/command.cpp	Tue Feb 02 04:07:06 2016 +0000
@@ -81,17 +81,8 @@
 }
 uint8_t LoopFunction0(uint8_t x){
     char buf[0x10];
-    if(x==1){
-        sprintf(buf, "Strategy:%2d", data.strategy);
-        Lcd.locate(0, 1);Lcd.print(buf);wait_ms(50);return 0;
-    }
-    if(x==2){
-        sprintf(buf, "SeeYouAgain!");
-        Lcd.locate(0, 1);Lcd.print(buf);wait(0.5);
-        NVIC_SystemReset();
-        return 1;
-    }
-    return 1;
+    sprintf(buf, "Strategy:%2d", data.strategy);
+    Lcd.locate(0, 1);Lcd.print(buf);wait_ms(50);return 0;
 }
 uint8_t LoopFunction1(uint8_t x){
     char buf[0x10];