mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 12:55:14 +03:00
Add Support for v2.9.1 MSP
This commit is contained in:
parent
33f14df10d
commit
9f5cce77d8
3 changed files with 29 additions and 24 deletions
|
@ -267,7 +267,7 @@ function onConnect() {
|
|||
|
||||
$('#tabs ul.mode-connected').show();
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "3.0.0")) {
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.9.1")) {
|
||||
MSP.send_message(MSP_codes.MSP_STATUS_EX, false, false);
|
||||
} else {
|
||||
MSP.send_message(MSP_codes.MSP_STATUS, false, false);
|
||||
|
@ -462,7 +462,7 @@ function update_live_status() {
|
|||
|
||||
if (GUI.active_tab != 'cli') {
|
||||
MSP.send_message(MSP_codes.MSP_BOXNAMES, false, false);
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "3.0.0"))
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.9.1"))
|
||||
MSP.send_message(MSP_codes.MSP_STATUS_EX, false, false);
|
||||
else
|
||||
MSP.send_message(MSP_codes.MSP_STATUS, false, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue