• Alessandro Rubini's avatar
    kill MSG_SEND_AND_RET, use function instead · 3c7d66da
    Alessandro Rubini authored
    This removes the unmanageable MSG_SEND_AND_RET macro, turning it to a
    normal function (inline, at the time being, to avoid moving from the
    header to a different place).
    
    The function is called __send_and_log because it logs too, but I'd better
    move logging to the actual send and recv methods.
    
    BTW: the message "-> FAULTY" (now removed) was wrong, because not all
    errors of this function result in FAULTY state in the fsm.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    3c7d66da
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...