• Alessandro Rubini's avatar
    time-wrs: implement time_set() · 06cb0670
    Alessandro Rubini authored
    The non-wr servo calls time_set when the offset is more than 1second.
    However, we can't set the time, but we can force a big adjustment.
    
    So this code now adjusts the WR seconds, to reach a less-than-one-second
    error, to let the servo rthen converge with small adjustments.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    06cb0670
wrs-time.c 6.28 KB