To fix the hang problem

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
ee12b079
Date:
Sat Oct 29 11:39:30 2016 +0000
Parent:
303:b49b486a7107
Child:
307:6654e7908e57
Commit message:
29Oct 2016;

Changed in this revision

adf.h Show annotated file Show diff for this revision Revisions of this file
--- 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{*/\