[LinuxPPS] linuxpps 2.6.23.1 report

Udo van den Heuvel udovdh at xs4all.nl
Thu Oct 25 16:57:12 CEST 2007


Udo van den Heuvel wrote:
>> It DOES work, as I wrote.
> 
> Even better:
> 
> With out patch the atom refclock works almost: I needed to remove _1
> from som PPS_API_VERS and it compiled!

See the patch.
-------------- next part --------------
--- refclock_atom.c.origineel	2007-10-25 16:54:55.000000000 +0200
+++ refclock_atom.c	2007-10-25 16:55:02.000000000 +0200
@@ -284,7 +284,7 @@
 		return (0);
 	}
 	memset(&up->pps_params, 0, sizeof(pps_params_t));
-	up->pps_params.api_version = PPS_API_VERS_1;
+	up->pps_params.api_version = PPS_API_VERS;
 	up->pps_params.mode = mode | PPS_TSFMT_TSPEC;
 	if (time_pps_setparams(up->handle, &up->pps_params) < 0) {
 		msyslog(LOG_ERR,


More information about the LinuxPPS mailing list