Pradeep Kotipalli
/
TFOX_CDMS_VR_1_0_WORKING
jnlj
Fork of TFOX_CDMS_VR_1_0_WORKING by
Diff: RTC.cpp
- Revision:
- 5:c77b49508927
- Parent:
- 3:0c3f7c3fabc9
- Child:
- 7:4f17f1afe95e
--- 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