1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-21 15:25:19 +03:00

correct condition to check if port is opened

This commit is contained in:
Pawel Spychalski (DzikuVx) 2017-01-20 16:37:49 +01:00
parent ce3678950d
commit ba165a0f14

View file

@ -27,7 +27,7 @@ helper.mspQueue = (function (serial, MSP) {
/*
* if port is blocked or there is no connection, do not process the queue
*/
if (privateScope.portInUse || !CONFIGURATOR.connectionValid) {
if (privateScope.portInUse || serial.connectionId === false) {
return false;
}