To fix the hang problem
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE by
Diff: adf.h
- Revision:
- 306:82b7d137db31
- Parent:
- 288:aa93d6652381
- Child:
- 307:6654e7908e57
--- a/adf.h Mon Sep 05 11:25:33 2016 +0000 +++ b/adf.h Sat Oct 29 11:39:30 2016 +0000 @@ -394,6 +394,8 @@ check_status;\ /*gPC.printf("I 0x%X\r\n",(int)status);*/\ if(IRQ){\ + /*Reset the timer*/\ + /*T.reset();*/\ /*gPC.printf("det\r\n");*/\ if(!ADF_off) {\ if(finish_write_data || restart_adf_flag) {\ @@ -422,6 +424,7 @@ wait_us(2000);\ }\ /*Stop_the_Timer*/\ + /*T.stop();*/\ }\ }\ /*else{*/\