mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 01:45:07 -05:00
Set leap status by enum
This commit is contained in:
@@ -177,7 +177,7 @@ RCL_AddRefclock(RefclockParameters *params)
|
||||
inst->driver_poll = params->driver_poll;
|
||||
inst->poll = params->poll;
|
||||
inst->driver_polled = 0;
|
||||
inst->leap_status = 0;
|
||||
inst->leap_status = LEAP_Normal;
|
||||
inst->pps_rate = params->pps_rate;
|
||||
inst->lock_ref = params->lock_ref_id;
|
||||
inst->offset = params->offset;
|
||||
|
||||
Reference in New Issue
Block a user