Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: FMS_all.h
- Revision:
- 315:f9a30c8cbe96
- Parent:
- 314:9f1b654a0b54
diff -r 9f1b654a0b54 -r f9a30c8cbe96 FMS_all.h --- a/FMS_all.h Wed Dec 07 06:38:22 2016 +0000 +++ b/FMS_all.h Thu Dec 08 10:12:15 2016 +0000 @@ -350,13 +350,13 @@ for(int i=0;i<16;i++) { //tm_pointer->TM_string[i] = 0; - tm_pointer->TM_string[i+7] = min_max_data.temp_max[i]; + tm_pointer->TM_string[i+7] = (uint8_t)min_max_data.temp_max[i]; } for(int i=0;i<16;i++) { //tm_pointer->TM_string[i] = 0; - tm_pointer->TM_string[i+26] = min_max_data.temp_min[i]; + tm_pointer->TM_string[i+26] = (uint8_t)min_max_data.temp_min[i]; } tm_pointer->TM_string[47] = GPIO_STATUS &0xFF00;