]> git.tdb.fi Git - r2c2.git/commit
Fix handling of uncertain bits in accessories
authorMikko Rasa <tdb@tdb.fi>
Sun, 6 Apr 2014 20:08:32 +0000 (23:08 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 6 Apr 2014 20:08:32 +0000 (23:08 +0300)
commitb79fbe6985cb9bcd8df1f5b0ec95b25314d8798d
treecbe7a64eafeb18ccca2692228e358abf0e81b8f6
parent617dacc52b5610a9ea7774cb2ca1144e9011b931
Fix handling of uncertain bits in accessories

When the state of an accessory is first set, send commands for all
uncertain bits.  Otherwise the accessory could remain unsynced or a
failure could go undetected.

Always clear the uncertain bit after setting an accessory, not only
when it failed.
source/libr2c2/arducontrol.cpp