1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 17:55:24 +03:00

Fix: arm status [icon] (#3438)

Fix status
This commit is contained in:
Mark Haslinghuis 2023-05-09 17:33:49 +02:00 committed by GitHub
parent 5c3951626a
commit e789d97baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 38 deletions

View file

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