1
0
Fork 0
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:
U-DESKTOP-12PPI61\boris.bozic 2016-08-02 21:54:50 +02:00
parent 33f14df10d
commit 9f5cce77d8
3 changed files with 29 additions and 24 deletions

View file

@ -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);