pl ack in tmtc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by shubham c

Revision:
24:55cd06f4a534
Parent:
9:e9eaada136c6
--- a/adf.h	Thu Dec 31 18:35:59 2015 +0000
+++ b/adf.h	Fri Jan 01 06:21:16 2016 +0000
@@ -422,7 +422,9 @@
  
  
 void check(){   
+    gPC.puts("-2-\r\n");
     if(IRQ){
+        gPC.puts("-3-\r\n");
         gCOM_MNG_TMTC_THREAD->signal_set(signal);
     }
 }
@@ -464,6 +466,7 @@
     spi.write(0xFF);\
     gCS_ADF=1;\
     SPI_mutex.unlock();\
+    gPC.puts("-1-\r\n");\
     ticker.attach_us(&check,32000);\
 }