I2C code testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by Siva ram

Revision:
109:78f2912e3473
Parent:
101:bece931236a2
Child:
110:e5091ab345de
--- a/main.cpp	Tue Jan 26 13:15:01 2016 +0000
+++ b/main.cpp	Tue Jan 26 14:15:04 2016 +0000
@@ -2,8 +2,6 @@
 
 #include "mbed.h"
 
-#define DEBUG 1
-
 #include "SimpleDMA.h"
 #include "dmaSPIslave.h"
 #include "rtos.h"
@@ -24,7 +22,6 @@
 #include "Compression.h"
 #include "ThreadsAndFunctions.h"
 
-void set_sig(){gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL);}
 int main()
 {
     #if DEBUG
@@ -56,7 +53,9 @@
     gCS_ADF = 1;
     
     //FCTN_CDMS_INIT_RTC();/* rtc initialization*/
+    #if USE_SD
     FCTN_CDMS_SD_INIT();/* sd card initialization*/
+    #endif
     
     // initialise_card();
     // int result= initialise_card();
@@ -81,10 +80,6 @@
     #endif
     // *******************INITIALISATIONS END********************
     
-    /*starting the thread with signal*/
-    set_sig();
-    
-    
     /*Calculating Stack used*/
     
     int state;