working version
Dependencies: mbed mbed-rtos SimpleDMA FreescaleIAP eeprom
Fork of CDMS_CODE_FM_28JAN2017 by
Revision 323:1f3c756e7b38, committed 2016-12-10
- Comitter:
- chaithanyarss
- Date:
- Sat Dec 10 12:41:58 2016 +0000
- Parent:
- 322:7d906d34aaff
- Child:
- 324:c0a5228cc666
- Commit message:
- Added MAX_MIN
Changed in this revision
| COM_MNG_TMTC.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/COM_MNG_TMTC.h Sat Dec 10 12:32:27 2016 +0000
+++ b/COM_MNG_TMTC.h Sat Dec 10 12:41:58 2016 +0000
@@ -436,7 +436,12 @@
tm_ptr->TM_string[1] = GETpacket_seq_count(tc_ptr);
tm_ptr->TM_string[2] = 0xA0;
tm_ptr->TM_string[3] = 0x00; //spare bits
+
+ if(mid == 0x0000)
FCTN_CDMS_RD_L_RAM(tm_ptr);
+ if(mid == 0x0001)
+ FCTN_CDMS_MAX_MIN(tm_ptr);
+
crc16 = crc16_gen(tm_ptr->TM_string,132);
tm_ptr->TM_string[132] = (uint8_t)((crc16&0xFF00)>>8);
tm_ptr->TM_string[133] = (uint8_t)(crc16&0x00FF);
