To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: CDMS_HK.h
- Revision:
- 327:5a967a66c10f
- Parent:
- 322:7d906d34aaff
- Child:
- 328:2242ebc71be8
--- a/CDMS_HK.h Sat Dec 10 16:15:40 2016 +0000 +++ b/CDMS_HK.h Fri Dec 16 08:53:12 2016 +0000 @@ -575,23 +575,23 @@ for(int i = 0; i<4; i++) CDMS_RAM[43+i] = FSC_CURRENT[1] >> (3-i)*8; for(int i = 0; i<4; i++) - CDMS_RAM[47+i] = FSC_LAST[1] >> (3-i)*8; + CDMS_RAM[47+i] = FSC_OLD[1] >> (3-i)*8; for(int i = 0; i<4; i++) CDMS_RAM[51+i] = FSC_CURRENT[2] >> (3-i)*8; for(int i = 0; i<4; i++) - CDMS_RAM[55+i] = FSC_LAST[2] >> (3-i)*8; + CDMS_RAM[55+i] = FSC_OLD[2] >> (3-i)*8; for(int i = 0; i<4; i++) CDMS_RAM[59+i] = FSC_CURRENT[3] >> (3-i)*8; for(int i = 0; i<4; i++) - CDMS_RAM[63+i] = FSC_LAST[3] >> (3-i)*8; + CDMS_RAM[63+i] = FSC_OLD[3] >> (3-i)*8; for(int i = 0; i<4; i++) CDMS_RAM[67+i] = FSC_CURRENT[4] >> (3-i)*8; for(int i = 0; i<4; i++) - CDMS_RAM[71+i] = FSC_LAST[4] >> (3-i)*8; + CDMS_RAM[71+i] = FSC_OLD[4] >> (3-i)*8; for(int i = 0; i<4; i++) CDMS_RAM[75+i] = FSC_CURRENT[5] >> (3-i)*8; for(int i = 0; i<4; i++) - CDMS_RAM[79+i] = FSC_LAST[5] >> (3-i)*8; + 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]); } \ No newline at end of file