summaryrefslogtreecommitdiff
path: root/recipes-support/ntp/files/ntp.conf.patch
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-02-01 15:03:14 -0600
committerJohn Klug <john.klug@multitech.com>2017-02-01 15:03:14 -0600
commitb22e0e723285d41617c1fea5b72828b4de0e6074 (patch)
treec2b89e0cfc10c6bfebc6dbef8292570945cad301 /recipes-support/ntp/files/ntp.conf.patch
parent70bc629b902f50f1c16d366056440519e6ed2cca (diff)
downloadmeta-mlinux-b22e0e723285d41617c1fea5b72828b4de0e6074.tar.gz
meta-mlinux-b22e0e723285d41617c1fea5b72828b4de0e6074.tar.bz2
meta-mlinux-b22e0e723285d41617c1fea5b72828b4de0e6074.zip
Set the GPS messages and PPS signals to true
Diffstat (limited to 'recipes-support/ntp/files/ntp.conf.patch')
-rw-r--r--recipes-support/ntp/files/ntp.conf.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-support/ntp/files/ntp.conf.patch b/recipes-support/ntp/files/ntp.conf.patch
index 2fd26ef..dbb7fb8 100644
--- a/recipes-support/ntp/files/ntp.conf.patch
+++ b/recipes-support/ntp/files/ntp.conf.patch
@@ -36,11 +36,11 @@ diff -Naur old/ntp.conf new/ntp.conf
+
+# GPS Serial data reference (NTP0)
+# This sets the GPS 50 milliseconds slower than the PPS.
-+server 127.127.28.0
++server 127.127.28.0 true
+fudge 127.127.28.0 time1 0.050 refid GPS
+
+# GPS PPS reference (NTP2)
-+server 127.127.28.2 prefer
++server 127.127.28.2 prefer true
+fudge 127.127.28.2 time1 0.000 refid PPS
+
# Using local hardware clock as fallback