Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Diff: main.cpp
- Revision:
- 204:72f52e74e0e4
- Parent:
- 203:424308159a56
--- a/main.cpp Fri Jul 01 17:41:48 2016 +0000 +++ b/main.cpp Sat Jul 02 09:31:22 2016 +0000 @@ -16,6 +16,7 @@ #include "DefinitionsAndGlobals.h" #include "crc.h" #include "i2c.h" +#include "cdms_rtc.h" #include "COM_SND_TM_functions.h" #include "COM_SND_TM.h" #include "cdms_sd.h" @@ -25,7 +26,6 @@ #include "adf.h" #include "COM_RCV_TC.h" //#include "Flash.h" -#include "cdms_rtc.h" #include "COM_MNG_TMTC.h" #include "COM_POWER_ON_TX.h" #include "COM_POWER_OFF_TX.h" @@ -119,7 +119,7 @@ uint8_t test[512] = {0}; disk_write(test,7000); //to be used only just before launch - uint8_t data[512]; + /*uint8_t data[512]; for(int i=0;i<512;i++) data[i] = i%100; for(int i=0;i<512;i++) @@ -179,7 +179,7 @@ { gPC.printf("\r0x%02X 0x%02X %d %d\n",data[i],test[i],j,FSC_CURRENT[2]); } - } + }*/ @@ -204,19 +204,19 @@ master.frequency(400000); - PL_wo_dma = new RtosTimer(payload_isr_fun_dma, osTimerPeriodic,(void * )NULL); + //PL_wo_dma = new RtosTimer(payload_isr_fun_dma, osTimerPeriodic,(void * )NULL); //PL_wo_dma->start(6000);// - //gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL); + gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL); - gPC.printf("PL_TC sending\r\n"); + /*gPC.printf("PL_TC sending\r\n"); Base_tm *tm_ptr = new Short_tm; OBSRS_TC(tm_ptr); - gPC.printf("PL_TC sent"); + gPC.printf("PL_TC sent");*/ // *******************INITIALISATIONS END********************