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:
- 98:fd99ddc0e0a1
- Parent:
- 97:717c7908c822
- Child:
- 101:bece931236a2
--- a/ThreadsAndFunctions.h Mon Jan 25 14:20:44 2016 +0000
+++ b/ThreadsAndFunctions.h Tue Jan 26 10:05:19 2016 +0000
@@ -102,7 +102,8 @@
}
}
else if( gFLAGS & NEW_TC_RECEIVED ){
- /*gPC.puts("NEW TC RECEIVED\r\n");*/
+ gPC.puts("NEW TC RECEIVED\r\n");
+// DEBUF_PRINT("NEW TC RECEIVED\r\n");
Thread::wait(2000); /*To be removed in flight model*/
gFLAGS = gFLAGS & (~NEW_TC_RECEIVED);
gFLAGS = gFLAGS | COM_MNG_TMTC_RUNNING_FLAG;
@@ -142,7 +143,8 @@
if( tempPAHot == 0xFF ){
gFLAGS = gFLAGS & ~(COM_PA_HOT_FLAG);
gCOM_PA_COOLING_TIMEOUT.detach();
- /*gPC.puts("EXECUTING TELECOMMANDS\r\n");*/
+ gPC.puts("EXECUTING TELECOMMANDS\r\n");
+// DEBUF_PRINT("EXECUTING TELECOMMANDS\r\n");
EXECUTE_OBOSC_ONLY;
EXECUTE_TC;
/*gPC.puts("COMPLETED EXECUTION\r\n");*/
@@ -300,8 +302,11 @@
// gLEDR = !gLEDR;
// }
while(true){
+ gPC.puts("entering sci\r\n");
gSCIENCE_THREAD->signal_wait(SCIENCE_SIGNAL);
+ gPC.puts("sig_set\r\n");
srp(payload_data);
+ gPC.puts("exit_srp\r\n");
}
}
