[Git][NTPsec/ntpsec][master] refclock_nmea: fix 4800 baud

Eric S. Raymond gitlab at mg.gitlab.com
Tue May 2 19:53:21 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
48f81b16 by Trevor N at 2017-05-02T15:52:19-04:00
refclock_nmea: fix 4800 baud

- - - - -


1 changed file:

- ntpd/refclock_nmea.c


Changes:

=====================================
ntpd/refclock_nmea.c
=====================================
--- a/ntpd/refclock_nmea.c
+++ b/ntpd/refclock_nmea.c
@@ -412,7 +412,7 @@ nmea_start(
 	switch (rate) {
 	case 0:
 	case 4800:
-		baudrate = 4800;
+		baudrate = B4800;
 		baudtext = "4800";
 		break;
 	case 1:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/48f81b16b907af959f289647fb3b99f7dc513848

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/48f81b16b907af959f289647fb3b99f7dc513848
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170502/43710e93/attachment.html>


More information about the vc mailing list