Re: [chrony-dev] [PATCH] Support multiple extpps refclocks on a single PHC device |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] Support multiple extpps refclocks on a single PHC device
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Mon, 20 Feb 2023 18:30:50 +1300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpcorp.com; i=@smtpcorp.com; q=dns/txt; s=a1-4; t=1676871066; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=BkyghlFlieMSaANkSvZ1SaAyM4C3bhl5nT3EcBeAliU=; b=XVfZKeEBNuaGmuo6V2GIoU/ebRjK7Yk8EiyJEhXuVR6mR0kGsdYxM30y7gW314yWxcRZs IcdmZV6Fz848wZNdmddPyqwJYg5LRW4uFzB9svNFea/zO0IzDBReqU8wU82ygJwSqqI9qkG dS/srgPMwVWk6wtDAcCcJjBGS7E1dsMO+lTZ3TzOx4wuHnjVDuRieHhyoBN+pmEXcJE0+tq d1YpKKHzfFwitPkKs1Oz/u4bXizVjLAqLMQEqhJ1Z++tFDpyyUSGqEbdMDbdlHPfPSuseTI MsTLCeGFpU/6cdx3W90/WnyU0qNoaggUMblv/eKouP6FbgCXB5fhEE7tkBFw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1676871066; h=from : subject : to : message-id : date; bh=BkyghlFlieMSaANkSvZ1SaAyM4C3bhl5nT3EcBeAliU=; b=BBbcralXbDQ0kfsDO/I2QZ/0Z/t6GsaW/8CICLw5qUM2Aes0kVprkELzNTVH7XJIwTmTL W3SN5aoScQt34F50NxLPLF301qjGS9ZApOiOHGW9GHdbYiaKVJlEBd+AK1xMaC/33p8GHvX AEjx5PaU0fGmMlC26wKlOW2zTVuR432sq2mwfIfokhqZ+OfSwxuZisD6pMVPTw5h5GALP7Z enET+HFMLTfwMtuNtndZhznmgFX+doP2iaLINqs1nyAopUXp2Y3vML+6gyCGOvz6j9TPqy8 sonYI/w0pQfIlz3snXFnhC8dRWyyi4UijiwJ7oI2hBYQZ9TRrz057Y5NRTpg==
- Feedback-id: 149811m:149811acx33YQ:149811sYSEDn2E3J
Should be
>
> + phc->path = Malloc(strlen(path) + 1);
> On 20/02/2023, at 6:23 PM, Matt Corallo <ntp-lists@xxxxxxxxxxxxxxx> wrote:
>
>
> @@ -75,6 +89,9 @@ static int phc_initialise(RCL_Instance instance)
> phc->nocrossts = RCL_GetDriverOption(instance, "nocrossts") ? 1 : 0;
> phc->extpps = RCL_GetDriverOption(instance, "extpps") ? 1 : 0;
>
> + phc->path = Malloc(strlen(path));
> + strcpy(phc->path, path);
> +
> phc->clock = HCL_CreateInstance(0, 16, UTI_Log2ToDouble(RCL_GetDriverPoll(instance)),
> RCL_GetPrecision(instance));
>
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.