diff options
Diffstat (limited to 'refclock_pps.c')
-rw-r--r-- | refclock_pps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/refclock_pps.c b/refclock_pps.c index 85ff9e9..b9e8009 100644 --- a/refclock_pps.c +++ b/refclock_pps.c @@ -48,12 +48,15 @@ struct pps_instance { }; static int pps_initialise(RCL_Instance instance) { + const char *options[] = {"clear", NULL}; pps_handle_t handle; pps_params_t params; struct pps_instance *pps; int fd, edge_clear, mode; char *path; + RCL_CheckDriverOptions(instance, options); + path = RCL_GetDriverParameter(instance); edge_clear = RCL_GetDriverOption(instance, "clear") ? 1 : 0; |