]> git.tdb.fi Git - r2c2.git/commit
Retain addresses of previously seen locomotives
authorMikko Rasa <tdb@tdb.fi>
Mon, 2 Mar 2015 21:16:20 +0000 (23:16 +0200)
committerMikko Rasa <tdb@tdb.fi>
Mon, 2 Mar 2015 21:16:20 +0000 (23:16 +0200)
commitc1f45677ffbe9ded079df99f998d8e2abfe548de
tree07be7915c0f7c6e44841a78295b877fe15aa12b3
parent6887e5cf8bcb6578309e09136172f445cf1f619b
Retain addresses of previously seen locomotives

It may happen that a locomotive gets re-enumerated, e.g. after visiting
another layout.  Since they are identified by their address, it's useful
to keep the same address.
source/libr2c2/arducontrol.cpp
source/libr2c2/arducontrol.h