On Sat, May 16, 2020 at 11:53:58PM +0530, Lokesh Vutla wrote:
> +     while (is_running()) {
> +             if (phc_read_extts(clkid, &ts))
> +                     continue;
> +
> +             fprintf(stdout, "Timestamp = %lld.%09lld\n", ts / NS_PER_SEC,
> +                     ts % NS_PER_SEC);

Please use pr_debug() here.

> +             pwm_chan_set_period(chan, pwm_servo_sample(&ps, ts));
> +     }

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to