mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-26 01:35:23 +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,16 +41,8 @@ TABS.auxiliary.initialize = function (callback) {
|
|||
}
|
||||
|
||||
function get_rc_data() {
|
||||
if (FC.SERIAL_CONFIG.ports.length == 0) {
|
||||
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() {
|
||||
sort_modes_for_display();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue