MultiChannelCommunication: Fix issue where initial open fails

This commit is contained in:
Paul Hollinsky
2020-06-24 21:38:57 -04:00
parent 25f079b5c6
commit 67bd1e616a
+1 -1
View File
@@ -98,7 +98,7 @@ void MultiChannelCommunication::hidReadTask() {
case PreprocessState::GetData:
state = PreprocessState::GetData; // Set state in case we've fallen through, but later need to go around again
if(usbReadFifo.size() <= currentReadIndex + currentCommandLength) { // Come back we have more data
if(usbReadFifo.size() < currentReadIndex + currentCommandLength) { // Come back when we have more data
readMore = true;
continue;
}