]> git.tdb.fi Git - model-railway-devices.git/commit
Make arducontrol interface asynchronous again
authorMikko Rasa <tdb@tdb.fi>
Wed, 30 Oct 2013 21:50:00 +0000 (23:50 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 30 Oct 2013 21:50:00 +0000 (23:50 +0200)
commitc97e84ca85810963c0c7e05d43ce5584b94cc9b3
tree093b15fed6dd84d445797340f5805602e6f7cfdc
parentdfe51654709d752ac19ecfcca5d6d1f1e605ce52
Make arducontrol interface asynchronous again

Blocking the main loop for extended periods of time (as could previously
happen with an incomplete packet) is bad, because it prevents the monitor
from triggering overcurrent shutdown.
arducontrol/interface.c