ACS data acq changed completely. Tested and working. Deals all faults.

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of QM_BAE_review_1 by Team Fox

Revision:
12:af1d7e18b868
Parent:
11:1fdb94ae6563
Child:
13:fb7facaf308b
--- a/TCTM.cpp	Wed Apr 13 17:00:25 2016 +0000
+++ b/TCTM.cpp	Wed Apr 13 18:34:28 2016 +0000
@@ -166,15 +166,15 @@
                            /*to be fixed*/
                            uint16_t P_BAE_I2CRX_COUNTER=0;
                            uint16_t P_ACS_MAIN_COUNTER=0;
-                           uint16_t P_BCN_TX_MAIN_COUNTER=0;
+                           uint16_t FCTN_BCN_TX_MAIN_COUNTER=0;
                            uint16_t P_EPS_MAIN_COUNTER=0;
                            
                            tm[18] = P_BAE_I2CRX_COUNTER>>8;
                            tm[19] = P_BAE_I2CRX_COUNTER;
                            tm[20] = P_ACS_MAIN_COUNTER>>8;
                            tm[21] = P_ACS_MAIN_COUNTER;
-                           tm[22] = P_BCN_TX_MAIN_COUNTER>>8;
-                           tm[23] = P_BCN_TX_MAIN_COUNTER;
+                           tm[22] = FCTN_BCN_TX_MAIN_COUNTER>>8;
+                           tm[23] = FCTN_BCN_TX_MAIN_COUNTER;
                            tm[24] = P_EPS_MAIN_COUNTER>>8;
                            tm[25] = P_EPS_MAIN_COUNTER;
                            
@@ -752,7 +752,7 @@
                         case 0x06:
                         {
                             F_BCN();
-                          /*  printf("Run P_BCN_INIT\r\n");
+                          /*  printf("Run FCTN_BCN_INIT\r\n");
                             //ACK_L234_TM
                             tm[0]=0xB0;
                             tm[1]=tc[0];
@@ -774,7 +774,7 @@
                         /*
                         case 0x07:
                         {
-                            printf("Run P_BCN_TX_MAIN\r\n");
+                            printf("Run FCTN_BCN_TX_MAIN\r\n");
                             //ACK_L234_TM
                             tm[0]=0xB0;
                             tm[1]=tc[0];