publishing to check changes in cdms code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA_flag by
Diff: ThreadsAndFunctions.h
- Revision:
- 258:bb889bc2e9f5
- Parent:
- 254:22d97475ca79
diff -r 22d97475ca79 -r bb889bc2e9f5 ThreadsAndFunctions.h --- a/ThreadsAndFunctions.h Tue Jul 12 11:10:48 2016 +0000 +++ b/ThreadsAndFunctions.h Tue Jul 12 17:03:01 2016 +0000 @@ -113,6 +113,7 @@ } while(true){ Thread::signal_wait( COM_MNG_TMTC_SIGNAL_UART_INT ); + /*gPC.printf("in\n");*/ if( gFLAGS & UART_INT_FLAG ){ gFLAGS = gFLAGS & (~UART_INT_FLAG); if( !(gFLAGS & COM_SESSION_FLAG) ){ @@ -266,7 +267,7 @@ } } else if( gFLAGS & COM_PA_HOT_FLAG ){ - /*gPC.puts("checking for PA hot in main\r\n");*/ + gPC.puts("checking for PA hot in main\r\n"); if( gFLAGS & COM_RX_FLAG ){ uint8_t tempPA = 0xFF; isPAhot(tempPA); @@ -297,7 +298,7 @@ } } else if( gFLAGS & COM_SESSION_TIMEOUT_FLAG ){ - /*gPC.puts("session timeout: resetting in main\r\n");*/ + gPC.puts("session timeout: resetting in main\r\n"); COM_POWER_OFF_TX; /*PENDING : ENABLE THREADS*/ HK_counter->start(10000); @@ -308,7 +309,7 @@ reset_all; } else{ - /*gPC.puts("INVALID SIGNAL RECEIVED IN MAIN\r\n");*/ + gPC.puts("INVALID SIGNAL RECEIVED IN MAIN\r\n"); // SOME INVALID SIGNAL RECEIVED COM_POWER_OFF_TX; reset_all;