Don't log a warning of comms not open if no connkey

This commit is contained in:
Isaac Connor 2020-11-20 16:31:12 -05:00
parent 65d4c43cc2
commit e1a0c4f973
1 changed files with 5 additions and 2 deletions

View File

@ -124,11 +124,14 @@ bool StreamBase::checkCommandQueue() {
processCommand(&msg);
return true;
}
} else {
} else if ( connkey ) {
Warning("No sd in checkCommandQueue, comms not open?");
} else {
// Perfectly valid if only getting a snapshot
Debug(1, "No sd in checkCommandQueue, comms not open?");
}
return false;
}
} // end bool StreamBase::checkCommandQueue()
Image *StreamBase::prepareImage(Image *image) {