Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: ThreadsAndFunctions.h
- Revision:
- 144:4c20fcc105ce
- Parent:
- 135:522f7d73d04f
- Child:
- 179:67588115bca3
--- 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;
}
