• baujc's avatar
    Bug fixes and new option in wr_date tool · 68f47b7a
    baujc authored
    - Add new option "stat" to display statistic about the evolution between
    WR and Unix time
    - When we set the WR time with the current UNIX time, the driver
    wr_clocksource must be removed first and then reinstalled when the time
    is set. If it is not done, the WR and Unix time are not well
    synchronized.
    - When the WR time is set, the sec and ns and set in one call. We don't
    need to call twice the wr_date tool.
    68f47b7a
wr_date.c 13.1 KB