• Maciej Lipinski's avatar
    Prevent re-entring UNCALIBRATED from SLAVE when WR slave port connects to nonWR port · 7d72d594
    Maciej Lipinski authored
    Set the parentDetect flag to NOT_WR_PARENT only if we think
    that the parent is WR_PARENT, i.e. thsi flag is not set in
    case that parentDetection=PD_NO_DETECTION because that means
    we already know whether we are speaking with WR guy or not.
    Previously, this condition was parentDetection!=PD_NOT_WR_PARENT
    and there was some trashing when WR slave port was speaking
    to nonWR port. This is because parentDetection=PD_NO_DETECTION
    was set and then parentDetection=PD_NOT_WR_PARENT was re-set
    which cause the slave to go back to UNCALIBRATED from SLAVE.
    7d72d594
Name
Last commit
Last update
..
Makefile Loading commit data...
common-fun.c Loading commit data...
hooks.c Loading commit data...
state-wr-abscal.c Loading commit data...
state-wr-calibrated.c Loading commit data...
state-wr-calibration.c Loading commit data...
state-wr-idle.c Loading commit data...
state-wr-link-on.c Loading commit data...
state-wr-locked.c Loading commit data...
state-wr-m-lock.c Loading commit data...
state-wr-present.c Loading commit data...
state-wr-resp-calib-req.c Loading commit data...
state-wr-s-lock.c Loading commit data...
wr-api.h Loading commit data...
wr-constants.h Loading commit data...
wr-msg.c Loading commit data...
wr-servo.c Loading commit data...
wr-state-machine.c Loading commit data...