Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: clock/clktm.c
- Revision:
- 41:8cd859cd1475
- Parent:
- 38:25b2a3c494aa
diff -r 53666b1a5848 -r 8cd859cd1475 clock/clktm.c
--- a/clock/clktm.c Tue Dec 04 12:26:27 2018 +0000
+++ b/clock/clktm.c Tue Dec 04 14:35:37 2018 +0000
@@ -4,6 +4,6 @@
#include "tm.h"
#include "clktime.h"
-void TimeToTmLocal(int64_t time, struct tm* ptm) { TmLocalFromTimeT(time >> TIME_ONE_SECOND_SHIFT, ptm); }
-void TimeToTmUtc (int64_t time, struct tm* ptm) { TmUtcFromTimeT(time >> TIME_ONE_SECOND_SHIFT, ptm); }
-int64_t TimeFromTmUtc( struct tm* ptm) { return ((int64_t)TmUtcToTimeT(ptm)) << TIME_ONE_SECOND_SHIFT ; }
\ No newline at end of file
+void ClkTimeToTmLocal(int64_t time, struct tm* ptm) { TmLocalFromTimeT(time >> CLK_TIME_ONE_SECOND_SHIFT, ptm); }
+void ClkTimeToTmUtc (int64_t time, struct tm* ptm) { TmUtcFromTimeT(time >> CLK_TIME_ONE_SECOND_SHIFT, ptm); }
+int64_t ClkTimeFromTmUtc( struct tm* ptm) { return ((int64_t)TmUtcToTimeT(ptm)) << CLK_TIME_ONE_SECOND_SHIFT ; }
\ No newline at end of file