CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
197:1369ef45b49e
Parent:
115:2e1144a41d76
Child:
209:63e9c8f8b5d2
--- a/cdms_rtc.h	Thu Jun 30 10:19:00 2016 +0000
+++ b/cdms_rtc.h	Thu Jun 30 10:51:38 2016 +0000
@@ -82,7 +82,7 @@
 {    
     SPI_mutex.lock();
     uint8_t response;
-    //printf("\n\r Entered rtc\n");
+    //gPC.printf("\n\r Entered rtc\n");
     gCS_RTC=1;
     gCS_RTC=0;
     spi.write(0x00); //reading milliseconds register
@@ -145,8 +145,8 @@
     time = time|(((uint64_t)(month&0x07))<<29);
     time = time|(((uint64_t)(year&0x03))<<33);
     time = (time&0x00000007FFFFFFFF);
-    //printf("\n\r%x%x", (int)(time >> 32), (int)(time));
-    //printf("\n\r0x%016llx\n\r", time);
+    //gPC.printf("\n\r%x%x", (int)(time >> 32), (int)(time));
+    //gPC.printf("\n\r0x%016llx\n\r", time);
    return time;
    SPI_mutex.unlock();
 }
\ No newline at end of file