Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: main.cpp
- Revision:
- 223:7c802e1ccd30
- Parent:
- 220:2aeab83212e6
--- a/main.cpp Mon Jul 04 05:24:35 2016 +0000 +++ b/main.cpp Mon Jul 04 13:53:20 2016 +0000 @@ -149,13 +149,12 @@ 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); - /*gPC.printf("PL_TC sending\r\n"); Base_tm *tm_ptr = new Short_tm; @@ -165,8 +164,9 @@ */ // *******************INITIALISATIONS END******************** - RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic); - gCDMS_HK_TIMER.start(30000); + FCTN_CDMS_HK_MAIN((void *)NULL); + //RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic); + //gCDMS_HK_TIMER.start(30000); /*starting the thread with signal*/ //set_sig();