• Alessandro Rubini's avatar
    servo: move more code from got_sync to got_resp (no technical effect) · b5df3c7a
    Alessandro Rubini authored
    This moves the first check for "max_delay" into the calculation
    function. As a side effect we got rid of the field "t1_t2_valid" in
    the servo structure.
    
    While nothing is changed in the calculations (and I see the same
    (mis)behaviour in my network) we now have a sane servo.c, where
    pp_servo_got_sync only takes care of the correction factor for the
    sync/follow-up message and then everything is done in
    pp_servo_got_resp.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    b5df3c7a
Name
Last commit
Last update
..
Makefile Loading commit data...
arith.c Loading commit data...
bmc.c Loading commit data...
common-fun.c Loading commit data...
common-fun.h Loading commit data...
fsm-table.c Loading commit data...
hooks.c Loading commit data...
msg.c Loading commit data...
open-close.c Loading commit data...
servo.c Loading commit data...
state-disabled.c Loading commit data...
state-faulty.c Loading commit data...
state-initializing.c Loading commit data...
state-listening.c Loading commit data...
state-master.c Loading commit data...
state-passive.c Loading commit data...
state-pre-master.c Loading commit data...
state-slave.c Loading commit data...
state-uncalibrated.c Loading commit data...
timeout.c Loading commit data...