From: Mikko Rasa Date: Sat, 4 Apr 2015 16:11:45 +0000 (+0300) Subject: Properly handle setting multiple functions in rapid succession X-Git-Url: http://git.tdb.fi/?p=r2c2.git;a=commitdiff_plain;h=f0aa8913aa1f4df37b87dcedbc257febb0e101a1 Properly handle setting multiple functions in rapid succession --- diff --git a/source/libr2c2/arducontrol.cpp b/source/libr2c2/arducontrol.cpp index 7b5fc10..8aced3b 100644 --- a/source/libr2c2/arducontrol.cpp +++ b/source/libr2c2/arducontrol.cpp @@ -208,7 +208,7 @@ void ArduControl::set_loco_function(unsigned id, unsigned func, bool state) throw invalid_argument("ArduControl::set_loco_function"); unsigned mask = 1<0 || loco.proto!=MM) {