Team Fox / Mbed 2 deprecated TR_EXCITATION_TEST

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of BAE_CODE_MARCH_2017 by Team Fox

Revision:
87:051ec436e75f
Parent:
85:55a87500895a
Child:
92:0d6e6ff9b7c9
--- a/main.cpp	Sat Dec 17 09:23:49 2016 +0000
+++ b/main.cpp	Sat Dec 17 13:32:52 2016 +0000
@@ -602,7 +602,7 @@
     else if((actual_data.power_mode<=2)||( (( ACS_STATE)&0x08) == 0x08))
         {
             //#if print
-                pc.printf("\n\r Low Power \n\r");
+                pc.printf("\n\r  \n\r");
             //#endif
             DRV_Z_EN = 0;
             DRV_XY_EN = 0;
@@ -855,7 +855,7 @@
         int BTG_MAIN_FLAG = FCTN_BATTERYGAUGE_MAIN(actual_data.Batt_gauge_actual, eps_btry_temp);
         timer_FCTN_BATTERYGAUGE_MAIN.stop();
         
-        if( BTG_MAIN_FLAG == 0 )                      //Data not received
+        if( BTG_MAIN_FLAG == 1 )                      //Data not received
             {
               actual_data.power_mode = 0;
               EPS_BATTERY_GAUGE_STATUS = 0;           //clear EPS_BATTERY_GAUGE_STATUS