• Alessandro Rubini's avatar
    servo: fix correction factor and remove duplicate fields · 52df1a37
    Alessandro Rubini authored
    "delay_ms" and "m_to_s_delay" were duplicates. This removes one of them
    (and the same for s_to_m) and a long-standing "TODO check".
    
    The original code was unclear about correction factor, that sometimes
    was removed and sometimes not. Since the value is an overhead figure
    added by any transparent clocks in the path, this commit counts it
    immediately, to forget about it as soon as possible.  This also makes
    the code more symmetric (t1,t2 code is similar to t3,t4 code).
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    52df1a37
pp-instance.h 6.03 KB