1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2024-05-12 13:34:16 +02:00
parent 24f07e23d6
commit cb3a7e94fe

View file

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