mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 17:55:21 +03:00
God knows why Serial Config was requested to display flight modes....
This commit is contained in:
parent
24f07e23d6
commit
cb3a7e94fe
1 changed files with 2 additions and 10 deletions
|
@ -41,15 +41,7 @@ TABS.auxiliary.initialize = function (callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function get_rc_data() {
|
function get_rc_data() {
|
||||||
if (FC.SERIAL_CONFIG.ports.length == 0) {
|
MSP.send_message(MSPCodes.MSP_RC, false, false, load_html);
|
||||||
MSP.send_message(MSPCodes.MSP_RC, false, false, get_ports_data);
|
|
||||||
} else {
|
|
||||||
MSP.send_message(MSPCodes.MSP_RC, false, false, load_html);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function get_ports_data() {
|
|
||||||
MSP.send_message(MSPCodes.MSP2_CF_SERIAL_CONFIG, false, false, load_html);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_html() {
|
function load_html() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue