things are working

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_DEC_2016_jan by Team Fox

Revision:
4:560716ec8414
Parent:
1:ad3b8a8032e2
--- a/TMTC.cpp	Sat Jan 23 09:26:14 2016 +0000
+++ b/TMTC.cpp	Sat Jan 23 11:33:47 2016 +0000
@@ -37,11 +37,11 @@
             FCTN_I2C_WRITE((char*)tc->TC_string);
             while(1)
             {
-                wait(1); //TimeOut instead of wait
+                wait(1.5); //TimeOut instead of wait
                 if(tm_status_4m_slv == 1)
                 {
                     printf("receiving...\r\n");
-                    FCTN_I2C_READ((char*)tm_pointer->TM_string,135);
+                    FCTN_I2C_READ((char*)tm_pointer->TM_string,134);
                     //printf("%s", tm_pointer->TM_string);
                     received+=1;
                     tm_pointer = tm_pointer->next_TM;