Team Fox / Mbed 2 deprecated RAJANGAM_REVIEW_BAE_CODE

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of QM_BAE_review_1 by Team Fox

Revision:
74:3fec9935ff1f
Parent:
69:c0dd13285d80
Child:
75:8144029726da
--- a/TCTM.cpp	Mon Dec 05 09:52:44 2016 +0000
+++ b/TCTM.cpp	Mon Dec 05 10:34:19 2016 +0000
@@ -1631,7 +1631,7 @@
                                                                 /*
                                                                     ATS PIN OR STATUS YET TO BE DECIDED. DECIDED THAT IT IS PIN TC CAN SWITCH ON/OFF THE SENSOR
                                                                 */
-                                                                ATS2_SW_ENABLE = 1;  // making sure we switch off the other
+                                                                ATS2_SW_ENABLE = 0;  // making sure we switch off the other
                                                                 //ACS_ATS_STATUS = (ACS_ATS_STATUS & 0xF3) | 0x0C ;
                                                                 ACS_ATS_STATUS = (ACS_ATS_STATUS & 0xF0) | 0x0C ;
                                                                 ATS1_SW_ENABLE = 1; //  what should the signal be for unabling 0 or 1
@@ -1667,7 +1667,7 @@
                                                                 telemetry[1]=tc[0];
                                                                 ATS1_SW_ENABLE = 0; //make sure u switch off the other
                                                                 ACS_ATS_STATUS = (ACS_ATS_STATUS & 0x0F) | 0xC0 ;
-                                                                ATS2_SW_ENABLE = 0;
+                                                                ATS2_SW_ENABLE = 1;
                                                                 ACS_ATS_STATUS = (ACS_ATS_STATUS & 0xF0);//|0x04; changed here
                                                                 
                                                                 /*update in flash here*/
@@ -1819,7 +1819,7 @@
                                                                 //ACK_L234_TM
                                                                 telemetry[0]=0xB0;
                                                                 telemetry[1]=tc[0];
-                                                                ATS2_SW_ENABLE = 1;
+                                                                ATS2_SW_ENABLE = 0;
                                                                 
                                                                 uint32_t FLASH_DATA;
                                                                 FLASH_DATA = FCTN_BAE_RD_FLASH_ENTITY(0);