CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
144:4c20fcc105ce
Parent:
135:522f7d73d04f
Child:
179:67588115bca3
diff -r 489a93a04d6b -r 4c20fcc105ce ThreadsAndFunctions.h
--- a/ThreadsAndFunctions.h	Thu Mar 24 04:04:33 2016 +0000
+++ b/ThreadsAndFunctions.h	Fri Apr 01 19:57:02 2016 +0000
@@ -144,7 +144,7 @@
                             if (DEBUG)
                                 gPC.puts("GS code match !!\r\n");
                             gFLAGS = gFLAGS | COM_SESSION_VALIDITY;
-                            COM_POWER_ON_TX;
+                            COM_POWER_ON_TX();
                             // PENDING: PA HOT HANDLED IN EXECUTE_XXX FUNCTIONS
                             uint8_t tempPAHot = 0x00;
                             isPAhot(tempPAHot);
@@ -217,14 +217,14 @@
                             test_tc = test_tc->next_TC;
                         }
                         //gPC.puts("\r\n");
-                        COM_POWER_ON_TX;
+                        COM_POWER_ON_TX();
                         // PENDING : POWER OFF TX
                         RX1M.attach(&rx_read, Serial::RxIrq);
                         gFLAGS = gFLAGS & (~COM_MNG_TMTC_RUNNING_FLAG);
                     }
                 }
                 else{
-                    COM_POWER_ON_TX;
+                    COM_POWER_ON_TX();
                     // POWER OFF TX transmitter only
                     // WARNING: reset_all ? clear com_session ?
                     RX1M.attach(&rx_read, Serial::RxIrq);
@@ -269,7 +269,7 @@
                     gFLAGS = gFLAGS | COM_MNG_TMTC_RUNNING_FLAG;
                     RX1M.attach(NULL);
                     gCOM_PA_COOLING_TIMEOUT.detach();
-                    COM_POWER_ON_TX;
+                    COM_POWER_ON_TX();
                     EXECUTE_OBOSC_ONLY;
                     EXECUTE_TC;
                 }