• Aurelio Colosimo's avatar
    no_incoming_msg label introduce to skip switch when plen=0 · 1b3c07b2
    Aurelio Colosimo authored
    This patch is due to the fact that the code did not correctly handle
    the situation of "no incoming message". Since messageType 0 is a SYNC
    message type, in those cases an empty message was tried to be handled as a SYNC
    message, and led to FAULTY state. This patch seemed to me the least
    invasive with respect to the current code.
    1b3c07b2
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...
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...