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:
parent
9442036542
commit
a0a76d70b0
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ bool ZoomH6Remote::sendCommand(byte primary, byte secondary, uint32_t gap, byte*
|
|||
|
||||
if (gap) delay(gap);
|
||||
|
||||
if (!writeWithReply(releaseCom, 2, nullptr, 3)) return false;
|
||||
writeWithReply(releaseCom, 2, nullptr, 3);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue