To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: main.cpp
- Revision:
- 245:da9d1bd999da
- Parent:
- 243:29625f5fc745
- Child:
- 246:565458eefd94
--- a/main.cpp Sat Jul 09 13:11:25 2016 +0000 +++ b/main.cpp Sun Jul 10 13:47:26 2016 +0000 @@ -118,7 +118,7 @@ gCS_RTC = 1; gCS_ADF = 1; - //FCTN_CDMS_INIT_RTC();/* rtc initialization*/ + FCTN_CDMS_INIT_RTC();/* rtc initialization*/ FCTN_CDMS_SD_INIT();/* sd card initialization*/ @@ -146,7 +146,7 @@ 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); @@ -167,6 +167,11 @@ //RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic); //gCDMS_HK_TIMER.start(5000); + /*test_pl_main(); + + RtosTimer gCDMS_PL_TIMER(FCTN_CDMS_PL_MAIN, osTimerPeriodic); + gCDMS_PL_TIMER.start(10000); + */ /*starting the thread with signal*/ //set_sig(); //payload_isr_fun();