]> git.tdb.fi Git - model-railway-devices.git/commit
Send at least four S88 data octets per packets if possible
authorMikko Rasa <tdb@tdb.fi>
Mon, 28 Oct 2013 20:20:28 +0000 (22:20 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 28 Oct 2013 20:20:28 +0000 (22:20 +0200)
commitdfe51654709d752ac19ecfcca5d6d1f1e605ce52
tree43681be34e0de4e7fef3ac5c839142f1b1fcd856
parent6f462a32920aa215a20b6512223e33df257d9f3a
Send at least four S88 data octets per packets if possible

Each packet has three bytes of overhead, which is pretty significant if
only a single data byte is sent.  Grouping them in larger units increases
throughput and only produces a negligible increase in latency.
arducontrol/s88.c