ZoomH6: fix send command always returning false

after sending the desired command to the Zoom Recorder we wait for a
given delay time and the send a release button command.
the release button command will not always return status from the
recorder, so checking its reply and returning false if no reply might
cause us to always return false even if the command was successfully
committed.
This commit is contained in:
Tomer Rubinstein 2019-12-30 11:50:31 -06:00
parent 9442036542
commit a0a76d70b0

View file

@ -108,7 +108,7 @@ bool ZoomH6Remote::sendCommand(byte primary, byte secondary, uint32_t gap, byte*
if (gap) delay(gap); if (gap) delay(gap);
if (!writeWithReply(releaseCom, 2, nullptr, 3)) return false; writeWithReply(releaseCom, 2, nullptr, 3);
return true; return true;
} }