mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 17:55:24 +03:00
parent
5c3951626a
commit
e789d97baa
5 changed files with 25 additions and 38 deletions
|
@ -24,7 +24,7 @@ setup.initialize = function (callback) {
|
|||
}
|
||||
|
||||
function load_status() {
|
||||
MSP.send_message(MSPCodes.MSP_STATUS, false, false, load_mixer_config);
|
||||
MSP.send_message(MSPCodes.MSP_STATUS_EX, false, false, load_mixer_config);
|
||||
}
|
||||
|
||||
function load_mixer_config() {
|
||||
|
@ -362,7 +362,7 @@ setup.initialize = function (callback) {
|
|||
}
|
||||
sensor_e.append(i18n.getMessage('sensorStatusSonarShort'), ': ', sonarElements[[FC.SENSOR_CONFIG.sonar_hardware]]);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
const showFirmwareInfo = function() {
|
||||
|
@ -401,7 +401,7 @@ setup.initialize = function (callback) {
|
|||
showFirmwareInfo();
|
||||
|
||||
// Show Sonar info box if sensor exist
|
||||
if (! have_sensor(FC.CONFIG.activeSensors, 'sonar')) {
|
||||
if (!have_sensor(FC.CONFIG.activeSensors, 'sonar')) {
|
||||
$('.sonarBox').hide();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue