Latest FM Code with EEPROM
Dependencies: FreescaleIAP SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: COM_MNG_TMTC.h
- Revision:
- 159:9951e803975f
- Parent:
- 136:8074893cd24e
--- a/COM_MNG_TMTC.h Wed Apr 13 14:25:48 2016 +0000 +++ b/COM_MNG_TMTC.h Wed Apr 13 19:38:09 2016 +0000 @@ -1005,7 +1005,7 @@ } else { - PL_TM_SIZE = TM_SHORT_SIZE; + PL_TM_SIZE = TM_LONG_SIZE; } if(GETshort_or_long_tc(tc_ptr) == LONG_TC_CODE) @@ -1015,15 +1015,10 @@ FCTN_I2C_WRITE_PL((char*)tc_ptr->TC_string,TC_SHORT_SIZE); } - while(1) { - gLEDG = !gLEDG; - t_pl.start(); if(rcv_isr == 1) { - gPC.printf("read_ack = %d",read_ack); - t_pl.stop(); //gPC.printf("i2c_t = %d",t_pl.read_ms()); for(int i = 0;i< PL_TM_SIZE;i++) tm_pointer->TM_string[i] = PL_I2C_DATA[i];