CDMS code for testing sbc
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: COM_MNG_TMTC.h
- Revision:
- 212:77bee0cbebfe
- Parent:
- 180:ccc21cc163f8
- Child:
- 213:3d13a06bcd3a
diff -r ccc21cc163f8 -r 77bee0cbebfe COM_MNG_TMTC.h --- a/COM_MNG_TMTC.h Wed May 25 15:28:32 2016 +0000 +++ b/COM_MNG_TMTC.h Sat Jun 18 09:07:28 2016 +0000 @@ -63,6 +63,7 @@ temp8 = tm_ptr->TM_string[TM_ACK_CODE_INDEX];\ temp8 = temp8 & 0x0F;\ if( temp8 == CRC_FAIL_NACK_CODE ){\ + temp_ack = 0x02; tm_ptr->TM_string[2] = tc_psc;\ }\ }\ @@ -1138,6 +1139,11 @@ uint16_t temp16 = TC_STATE_SUCCESSFULLY_EXECUTED;\ PUTexec_status(current_TC, temp16);\ }\ + else if( temp83 == 0x02){\ + /*gPC.puts("TC_STATE_EXECUTION_UNKNOWN");*/\ + uint16_t temp16 = TC_STATE_EXECUTION_UNKNOWN;\ + PUTexec_status(current_TC, temp16);\ + }\ else{\ /*gPC.puts("TC_STATE_EXECUTION_FAILED");*/\ uint16_t temp16 = TC_STATE_EXECUTION_FAILED;\