mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
refclock: add option to filter wrong pulse edges
Add width option to the refclock directive to set expected width of pulses in a PPS signal. The width adds a limit for the maximum offset and root distance in order to reject PPS samples from wrong events, e.g. PHCs which cannot be configured to timestamp only rising of falling edges.
This commit is contained in:
@@ -49,6 +49,7 @@ typedef struct {
|
||||
double delay;
|
||||
double precision;
|
||||
double max_dispersion;
|
||||
double pulse_width;
|
||||
} RefclockParameters;
|
||||
|
||||
typedef struct RCL_Instance_Record *RCL_Instance;
|
||||
|
||||
Reference in New Issue
Block a user