To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: CDMS_HK.h
- Revision:
- 345:8e6b2b4d244e
- Parent:
- 343:204497974293
diff -r 2517c9f6bb4f -r 8e6b2b4d244e CDMS_HK.h --- a/CDMS_HK.h Fri Jan 13 08:06:43 2017 +0000 +++ b/CDMS_HK.h Tue Jan 17 06:19:27 2017 +0000 @@ -59,7 +59,7 @@ hk_count--; gPC.printf("releasing mutex for HK_PL \n\r"); SCI_LED1 =0; - PL_GPIO_1_STATUS=1; + PL_GPIO_1_STATUS=0; gMutex.unlock(); continue; } else if(hk_count == 0) { @@ -646,5 +646,5 @@ for(int i = 0; i<4; i++) CDMS_RAM[79+i] = FSC_OLD[5] >> (3-i)*8; CDMS_RAM[83] = 0x00; - gPC.printf("\n\r%d %d %d %d %d",FSC_CURRENT[1],FSC_CURRENT[2],FSC_CURRENT[3],FSC_CURRENT[4],FSC_CURRENT[5]); + gPC.printf("\n\r%u %u %u %u %u",FSC_CURRENT[1],FSC_CURRENT[2],FSC_CURRENT[3],FSC_CURRENT[4],FSC_CURRENT[5]); } \ No newline at end of file