Andrew Boyson / clock

Dependents:   oldheating gps motorhome heating

Files at this revision

API Documentation at this revision

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;