• Alessandro Rubini's avatar
    general fix: implement SYNCHRONIZATION_FAULT · a438acc9
    Alessandro Rubini authored
    If we stopped sending to the master or the peer (for traffic or
    whatever; in my case with "fault drop"), we wouldn't notice the
    problem.
    
    This looks like SYNCHRONIZATION_FAULT (9.2.6.12), so this reuses the
    almost-unused TO_FAULTY, renaming it to a more generic TO_FAULT.
    
    9.2.6.12 says we should reach uncalibrated, but since uncalibrated doesn't
    exits (it is never entered, it's dead and untested code at this point),
    I handle the problem just like the timeout receiving announce messages.
    
    For wr, I reset the servo, so the problem can be seen.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    a438acc9
Name
Last commit
Last update
..
Makefile Loading commit data...
README-cfield 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-lib.c 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-slave.c Loading commit data...
state-uncalibrated.c Loading commit data...