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:
parent
ce3678950d
commit
ba165a0f14
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue