Allow the -s option to be used together with the -d option again. The PHC is used in the PPS mode to fix the offset by an integer number of seconds to get the system clock close to the PHC.
This reverts commit 228325c1bda4. --- phc2sys.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/phc2sys.c b/phc2sys.c index 4d41f06..b428b9f 100644 --- a/phc2sys.c +++ b/phc2sys.c @@ -1290,10 +1290,6 @@ int main(int argc, char *argv[]) "cannot use a pps device unless destination is CLOCK_REALTIME\n"); goto bad_usage; } - if (hardpps_configured(pps_fd) && src_name) { - fprintf(stderr, "please specify -s or -d, but not both\n"); - goto bad_usage; - } print_set_progname(progname); print_set_tag(config_get_string(cfg, NULL, "message_tag")); -- 2.26.2 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel