This patch fixes a bug when a signal is first linked to an IN or IO dir pin and then to an OUT pin. The previous behavior was that the value of the OUT pin was overwritten by the value of the signal, which can cause unwanted behavior. Now when an OUT dir pin is linked, the signal value is updated.
This patch fixes a bug when a signal is first linked to an IN or IO dir pin and then to an OUT pin. The previous behavior was that the value of the OUT pin was overwritten by the value of the signal, which can cause unwanted behavior. Now when an OUT dir pin is linked, the signal value is updated.