To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: main.cpp
- Revision:
- 271:72529b247333
- Parent:
- 268:ded5306a1fd1
- Child:
- 272:5be8e2449dc3
- Child:
- 277:a2f1d544ab8b
--- a/main.cpp Wed Jul 20 09:58:59 2016 +0000 +++ b/main.cpp Thu Jul 21 13:18:02 2016 +0000 @@ -91,8 +91,8 @@ master.frequency(400000); - /*HK_counter = new RtosTimer(hk_isr, osTimerPeriodic,(void * )NULL); - HK_counter->start(10000);*/ + HK_counter = new RtosTimer(hk_isr, osTimerPeriodic,(void * )NULL); + //HK_counter->start(10000); sys_reset_cdms_timer = new RtosTimer(sys_pwr_reset, osTimerPeriodic, (void * )NULL); sys_reset_cdms_timer->start(cdms_reset_timeout);