[ntp:bk-ntp-dev-send] BitKeeper diffs

stenn at whimsy.udel.edu stenn at whimsy.udel.edu
Wed Jul 24 09:47:05 UTC 2013


#### ChangeSet ####
2013-07-24 05:46:25-04:00, stenn at deacon.udel.edu
  [Bug 2322] Oncore driver should send 0 PPS offset to GPS

==== ChangeLog ====
2013-07-24 05:44:58-04:00, stenn at deacon.udel.edu +1 -0
  [Bug 2322] Oncore driver should send 0 PPS offset to GPS

--- 1.1302/ChangeLog	2013-07-22 07:40:23 -04:00
+++ 1.1303/ChangeLog	2013-07-24 05:44:58 -04:00
@@ -1,3 +1,4 @@
+* [Bug 2322] Oncore driver should send 0 PPS offset to GPS.
 (4.2.7p375) 2013/07/22 Released by Harlan Stenn <stenn at ntp.org>
 * [Bug 883] log warning arguments swapped in refclock_gpsvme.c.
 * [Bug 2368] Correct bug in previous attempt.

==== ntpd/refclock_oncore.c ====
2013-07-24 05:45:13-04:00, stenn at deacon.udel.edu +3 -5
  [Bug 2322] Oncore driver should send 0 PPS offset to GPS

--- 1.96/ntpd/refclock_oncore.c	2013-07-17 03:34:32 -04:00
+++ 1.97/ntpd/refclock_oncore.c	2013-07-24 05:45:13 -04:00
@@ -3050,11 +3050,9 @@ oncore_msg_Cj_init(
 		oncore_sendmsg(instance, Cmd,  sizeof(oncore_cmd_Az));	/* 6,8,12 */
 
 			/* PPS offset in ns */
-		if (instance->offset) {
-			memcpy(Cmd, oncore_cmd_Ay, (size_t) sizeof(oncore_cmd_Ay));	/* some have it, some don't */
-			w32_buf(&Cmd[-2+4], instance->offset);			/* will check for hw response */
-			oncore_sendmsg(instance, Cmd,  sizeof(oncore_cmd_Ay));
-		}
+		memcpy(Cmd, oncore_cmd_Ay, (size_t) sizeof(oncore_cmd_Ay));	/* some have it, some don't */
+		w32_buf(&Cmd[-2+4], instance->offset);			/* will check for hw response */
+		oncore_sendmsg(instance, Cmd,  sizeof(oncore_cmd_Ay));
 
 		/* Satellite mask angle */
 


More information about the bk-ntp-dev-send mailing list