• 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
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-unix Loading commit data...
arch-wrpc Loading commit data...
arch-wrs Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
time-bare Loading commit data...
time-unix Loading commit data...
time-wrpc Loading commit data...
time-wrs Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...