1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

clean up some more code smells from sonarcloud (#1714)

clean up some more code smells from sonarcloud
This commit is contained in:
Michael Keller 2019-10-15 08:39:38 +13:00 committed by GitHub
commit 4e708fcb08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 17 additions and 47 deletions

View file

@ -43,8 +43,6 @@ function getCustomDefaultsArea(firmware) {
return;
}
var result = {};
result.startAddress = readUint32(firmware, index);
result.endAddress = readUint32(firmware, index);

View file

@ -39,9 +39,6 @@ i18n.init = function(cb) {
});
// This function should do the same things that the i18n.localizePage function below does.
i18next.on('languageChanged', function (newLang) {
var translate = function(messageID) {
return i18n.getMessage(messageID);
};
i18n.localizePage(true);
updateStatusBarVersion();
});