Team Fox / Mbed 2 deprecated BAE_QM_MAR9

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of workinQM_5thJan_azad by Team Fox

Revision:
80:da657c390c27
Parent:
78:8ab8fb417a84
Child:
81:bc0837c54fbf
--- a/TCTM.cpp	Sat Dec 10 14:08:36 2016 +0000
+++ b/TCTM.cpp	Sat Dec 10 14:28:29 2016 +0000
@@ -1780,7 +1780,7 @@
                                                                 //ACK_L234_TM
                                                                 telemetry[0]=0xB0;
                                                                 telemetry[1]=tc[0];
-                                                                BCN_SW = 0;//here 0 is switch enable 5th dec
+                                                                BCN_SW = 1;//here 1 is switch enable 5th dec
                                                                 BCN_TX_SW_STATUS=0x01;//BCN_TX_SW_ENABLE CHANGED TO BCN_TX_SW_STATUS
                                                                 
                                                                 /*update in flash here*/
@@ -1928,7 +1928,7 @@
                                                                 //ACK_L234_TM
                                                                 telemetry[0]=0xB0;
                                                                 telemetry[1]=tc[0];
-                                                                BCN_SW = 1;// same convention active low 5th dec
+                                                                BCN_SW = 0;// same convention active high 5th dec
                                                                 BCN_TX_SW_ENABLE=0x03;
                                                                 
                                                                 /*update in the flash*/
@@ -2052,9 +2052,9 @@
                                                                 //ACK_L234_TM
                                                                 telemetry[0]=0xB0;
                                                                 telemetry[1]=tc[0];
-                                                                BCN_SW = 1;
+                                                                BCN_SW = 0;     //active high
                                                                 wait_ms(5);
-                                                                BCN_SW = 0;
+                                                                BCN_SW = 1;
                                                                 telemetry[2]=ACK_CODE;
                                                                 for(uint8_t i=3;i<11;i++)
                                                                     {