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
Revision 45:1d8d5b312f72, committed 2018-12-31
- Comitter:
- andrewboyson
- Date:
- Mon Dec 31 18:48:21 2018 +0000
- Parent:
- 44:aa45226d118e
- Child:
- 46:d3d56cb47940
- Commit message:
- Added ClkSyncIsReceivingTime to allow display of whether an external reference is providing time for the clock to synchronise to (PPS for the GPS clock and NTP for others).
Changed in this revision
| clock/clksync.c | Show annotated file Show diff for this revision Revisions of this file |
| clock/clksync.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/clock/clksync.c Sat Dec 29 19:00:39 2018 +0000 +++ b/clock/clksync.c Mon Dec 31 18:48:21 2018 +0000 @@ -7,6 +7,7 @@ bool ClkSyncTrace = false; +bool ClkSyncIsReceivingTime = false; //This is set from the external source of time bool ClkSyncedTime = false; bool ClkSyncedRate = false;
--- a/clock/clksync.h Sat Dec 29 19:00:39 2018 +0000 +++ b/clock/clksync.h Mon Dec 31 18:48:21 2018 +0000 @@ -4,6 +4,7 @@ extern bool ClkSyncTrace; +extern bool ClkSyncIsReceivingTime; extern bool ClkSyncedTime; extern bool ClkSyncedRate;