CDMS_CODE_samp_23SEP_DMA_flag

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE_samp_23SEP_DMA by iitm sat

Revision:
300:609c3e4240c9
Parent:
295:699801854b71
Child:
303:b49b486a7107
--- a/main.cpp	Sun Aug 28 13:53:42 2016 +0000
+++ b/main.cpp	Sat Sep 03 16:44:56 2016 +0000
@@ -15,9 +15,9 @@
 #include "crc.h"
 #include "i2c.h"
 #include "COM_SND_TM_functions.h"
-#include "COM_SND_TM.h"
 #include "Flash.h"
 #include "cdms_rtc.h"
+#include "COM_SND_TM.h"
 #include "cdms_sd.h"
 #include "common_functions.h"
 #include "RESET_functions.h"
@@ -114,9 +114,9 @@
     sys_reset_cdms_timer = new RtosTimer(sys_pwr_reset, osTimerPeriodic, (void * )NULL);
     sys_reset_cdms_timer->start(cdms_reset_timeout);
 
-    //PL_wo_dma = new RtosTimer(payload_isr_fun_dma, osTimerPeriodic,(void * )NULL);
-    //PL_wo_dma->start(6000);
-    gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL);
+    PL_wo_dma = new RtosTimer(payload_isr_fun_dma, osTimerPeriodic,(void * )NULL);
+    PL_wo_dma->start(6000);
+    //gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL);
     
     /*Timeout flipper;
     flipper.attach(BAE_TC,31);*/