Closed SartorialOffense closed 8 years ago
Verified. Thank you.
you are very welcome, your library has saved me a lot of time.
On Wed, May 25, 2016 at 3:02 PM, Valeriy Kucherenko < notifications@github.com> wrote:
Verified. Thank you.
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/thijse/Arduino-CmdMessenger/pull/7#issuecomment-221689904
Fixed subtle threading issue where ReceivedCommandSignal was setup to wait for a reply AFTER the reply had already been received from the transport layer. This would result in the response being stomped on when _receivedCommand was set to null. Now WaitForCmd is configured beforehand by the PrepareForWait command and then called. Saw this error every ~10K calls when the response from the Arduino was very fast. Has only been tested on a Arduino Mega 2560 R3.