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.h
- Revision:
- 17:927fc1eceb9d
- Parent:
- 15:e6d1d763ca18
- Child:
- 18:207dd1474cd9
--- a/clock.h Sat Dec 16 14:51:41 2017 +0000 +++ b/clock.h Thu Jan 11 17:39:36 2018 +0000 @@ -1,3 +1,6 @@ +#include <stdint.h> +#include <time.h> + extern void ClockNsToTmUtc (int64_t clk, struct tm* ptm); extern int64_t ClockNsFromTmUtc(struct tm* ptm); @@ -11,13 +14,13 @@ extern int ClockSyncedHysterisPpb; extern int ClockMaxOffsetSecs ; -extern int64_t ClockRefNs(); -extern bool ClockIsSet(); -extern bool ClockIsSynced(); -extern int64_t ClockNowNs(); +extern int64_t ClockRefNs(void); +extern int ClockIsSet(void); +extern int ClockIsSynced(void); +extern int64_t ClockNowNs(void); extern void ClockTmLocal(struct tm* ptm); extern void ClockTmUtc (struct tm* ptm); -extern bool ClockTicked; -extern int ClockInit(); -extern int ClockMain(); \ No newline at end of file +extern int ClockTicked; +extern void ClockInit(void); +extern void ClockMain(void); \ No newline at end of file