mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-18 13:55:14 +03:00
Added Virtual Mode
This commit is contained in:
parent
09663e386e
commit
030a75a89e
15 changed files with 518 additions and 52 deletions
|
@ -98,7 +98,7 @@ function closeSerial() {
|
|||
// automatically close the port when application closes
|
||||
const connectionId = serial.connectionId;
|
||||
|
||||
if (connectionId && CONFIGURATOR.connectionValid) {
|
||||
if (connectionId && CONFIGURATOR.connectionValid && !CONFIGURATOR.virtualMode) {
|
||||
// code below is handmade MSP message (without pretty JS wrapper), it behaves exactly like MSP.send_message
|
||||
// sending exit command just in case the cli tab was open.
|
||||
// reset motors to default (mincommand)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue