To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: main.cpp
- Revision:
- 277:a2f1d544ab8b
- Parent:
- 271:72529b247333
diff -r 72529b247333 -r a2f1d544ab8b main.cpp --- a/main.cpp Thu Jul 21 13:18:02 2016 +0000 +++ b/main.cpp Sun Jul 24 12:15:03 2016 +0000 @@ -92,6 +92,7 @@ master.frequency(400000); HK_counter = new RtosTimer(hk_isr, osTimerPeriodic,(void * )NULL); + gHK_THREAD->signal_set(HK_SIGNAL); //HK_counter->start(10000); sys_reset_cdms_timer = new RtosTimer(sys_pwr_reset, osTimerPeriodic, (void * )NULL);