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:
- 220:2aeab83212e6
- Parent:
- 218:c63cdba0550f
- Child:
- 223:7c802e1ccd30
--- a/main.cpp Sun Jul 03 15:28:43 2016 +0000 +++ b/main.cpp Mon Jul 04 05:24:35 2016 +0000 @@ -123,7 +123,7 @@ - + CDMS_INIT(); uint8_t test[512] = {0}; disk_write(test,7000); //to be used only just before launch @@ -165,8 +165,8 @@ */ // *******************INITIALISATIONS END******************** - //RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic); - //gCDMS_HK_TIMER.start(5000); + RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic); + gCDMS_HK_TIMER.start(30000); /*starting the thread with signal*/ //set_sig(); @@ -184,8 +184,6 @@ break;} }*/ - - while(true) { Thread::wait(osWaitForever); //state = gCOM_MNG_TMTC_THREAD->get_state() + '0';