cdms_i2c_hardware_test

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of standaloneworkingi2c_cdms by Team Fox

Revision:
107:e5091ab345de
Parent:
102:78f2912e3473
Child:
118:8f431a8bbe82
diff -r 78f2912e3473 -r e5091ab345de main.cpp
--- a/main.cpp	Tue Jan 26 14:15:04 2016 +0000
+++ b/main.cpp	Thu Feb 04 14:02:12 2016 +0000
@@ -24,9 +24,6 @@
 
 int main()
 {
-    #if DEBUG
-    gPC.puts("welcome to mng_tmtc\r\n");
-    #endif
     //gLEDR = 1;
     
     // ******************INITIALISATIONS START******************
@@ -42,7 +39,9 @@
     // DEBUG
     //gPC.puts("welcome to mng_tm_tc\r\n");
     gPC.baud(1200);
-    
+    #if DEBUG
+    gPC.puts("welcome to mng_tmtc\r\n");
+    #endif
     // COMMON SPI
     spi.format(8,0);
     spi.frequency(1000000);