cdms_i2c_hardware_test

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of standaloneworkingi2c_cdms by Team Fox

Revision:
95:fd99ddc0e0a1
Parent:
94:717c7908c822
Child:
96:efde3df6cd94
--- a/main.cpp	Mon Jan 25 14:20:44 2016 +0000
+++ b/main.cpp	Tue Jan 26 10:05:19 2016 +0000
@@ -1,6 +1,14 @@
 // TESTING PUSH PULL IN MAIN CPP
 
 #include "mbed.h"
+
+//#define DEBUG_DEF 1
+//
+//#define DEBUF_PRINT(x) \
+//    #ifdef DEBUG_DEF \
+//    gPC.puts(x);\
+//    #endif
+
 #include "rtos.h"
 #include "mbed_debug.h"
 
@@ -10,7 +18,7 @@
 #include "COM_SND_TM_functions.h"
 #include "COM_SND_TM.h"
 //#include "SDCread.h"
-#include "cdms_sd.h"
+//#include "cdms_sd.h"
 #include "OBSRS.h"
 #include "adf.h"
 //#include "SDC_init.h"
@@ -51,8 +59,8 @@
     gCS_RTC = 1;
     gCS_ADF = 1;
     
-    FCTN_CDMS_INIT_RTC();/* rtc initialization*/
-    FCTN_CDMS_SD_INIT();/* sd card initialization*/
+    //FCTN_CDMS_INIT_RTC();/* rtc initialization*/
+//    FCTN_CDMS_SD_INIT();/* sd card initialization*/
     
     // initialise_card();
     // int result= initialise_card();
@@ -74,7 +82,7 @@
     // *******************INITIALISATIONS END********************
     
     /*starting the thread with signal*/
-    inr.rise(&set_sig);
+    set_sig();
     
     
     /*Calculating Stack used*/