vr1.1

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of CDMS_RTOS_v1_1 by Team Fox

Revision:
5:c77b49508927
Parent:
3:0c3f7c3fabc9
Child:
7:c270a9e37290
diff -r cc85cfaa2086 -r c77b49508927 RTC.cpp
--- a/RTC.cpp	Tue Jun 16 13:06:19 2015 +0000
+++ b/RTC.cpp	Tue Jun 16 16:09:47 2015 +0000
@@ -83,7 +83,7 @@
     printf("\n\r rtc initalised \n");
 }
 
-uint8_t* FUNC_CDMS_RD_RTC()
+void FUNC_CDMS_RD_RTC(uint8_t *time)
 
 {    
     uint8_t response;
@@ -140,7 +140,5 @@
     for(int i= 0; i<8;i++)
         printf("%d\t",Time_stamp[i]);
     printf("read\r\n");
-    return(Time_stamp);
-}
-
-
+    time = Time_stamp;
+}
\ No newline at end of file