diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 4b8b7362..c682e8d2 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -1408,9 +1408,6 @@
"firmwareFlasherButtonLoadOnline": {
"message": "Load Firmware [Online]"
},
- "firmwareFlasherButtonUpdateReleasesList": {
- "message": "Force Releases update"
- },
"firmwareFlasherFlashFirmware": {
"message": "Flash Firmware"
},
@@ -1546,17 +1543,32 @@
"pidTuningGps": {
"message": "GPS Navigation"
},
- "pidTuningLevelP": {
- "message": "Strength (Angle)"
+ "pidTuningStrength": {
+ "message": "Strength"
},
- "pidTuningLevelI": {
- "message": "Strength (Horizon)"
+ "pidTuningTransition": {
+ "message": "Transition"
},
- "pidTuningLevelD": {
- "message": "Transition (Horizon)"
+ "pidTuningHorizon": {
+ "message": "Horizon"
+ },
+ "pidTuningAngle": {
+ "message": "Angle"
},
"pidTuningLevelHelp": {
- "message": "The values below change the behaviour of the ANGLE and HORIZON flight modes. Different PID controllers handle the LEVEL values differently. Please check the documentation."
+ "message": "The values below change the behaviour of the ANGLE and HORIZON flight modes. Different PID controllers handle the values differently. Please check the documentation."
+ },
+ "pidTuningLfpFilters": {
+ "message": "LFP Filters"
+ },
+ "pidTuningGyro": {
+ "message": "Gyro Soft (Hz)"
+ },
+ "pidTuningDTerm": {
+ "message": "D Term (Hz)"
+ },
+ "pidTuningYaw": {
+ "message": "Yaw (Hz)"
},
"configHelp2": {
"message": "Arbitrary board rotation in degrees, to allow mounting it sideways / upside down / rotated etc. When running external sensors, use the sensor alignments (Gyro, Acc, Mag) to define sensor position independent from board orientation. "
@@ -1679,11 +1691,11 @@
"message": "Magnetometer (if supported)"
},
"PIDTip": {
- "message": "Derivative from Error provides more direct stick response and is mostly prefered for Racing.
Derivative from Measurement provides smoother stick response what is more usefull for freestyling"
- }
-
-
-
+ "message": "Derivative from Error provides more direct stick response and is mostly prefered for Racing.
Derivative from Measurement provides smoother stick response what is more usefull for freestyling"
+ }
+
+
+
}
diff --git a/tabs/firmware_flasher.html b/tabs/firmware_flasher.html
index b22f325a..6085b794 100755
--- a/tabs/firmware_flasher.html
+++ b/tabs/firmware_flasher.html
@@ -7,12 +7,7 @@
{0}
".format(data["responseJSON"].message));
- }
- $('select[name="release"]').empty().append('');
- });
- };
-
- var updateReleasesList = function(releases){
- TABS.firmware_flasher.releases = releases;
-
- // bind events
- $('select[name="release"]').change(function() {
- if (!GUI.connect_lock) {
- $('.progress').val(0).removeClass('valid invalid');
- $('span.progressLabel').text(chrome.i18n.getMessage('firmwareFlasherLoadFirmwareFile'));
- $('div.git_info').slideUp();
- $('div.release_info').slideUp();
- $('a.flash_firmware').addClass('disabled');
- }
- });
- }
-
- chrome.storage.local.get('lastReleasesSync', function (result) {
- // calculate time between last online sync and now
- var lastReleasesSync = new Date(result.lastReleasesSync);
- var currentDate = new Date();
- var timeDiff = Math.abs(currentDate.getTime() - lastReleasesSync.getTime());
- var diffDays = Math.ceil(timeDiff / (1000 * 3600 * 24));
- console.log(result.lastReleasesSync);
- if(diffDays > 1) {
- console.log("Last sync older than one day, updating releases");
- updateReleases();
- } else {
- console.log("Last sync younger than one day, using stored releases");
- chrome.storage.local.get('releases', function (result) {
- updateReleasesList(result.releases);
- buildFirmwareOptions();
- });
+ }).fail(function (data){
+ if (data["responseJSON"]){
+ GUI.log("GITHUB Query Failed: {0}
".format(data["responseJSON"].message));
}
+ $('select[name="release"]').empty().append('');
});
+
// UI Hooks
$('a.load_file').click(function () {
chrome.fileSystem.chooseEntry({type: 'openFile', accepts: [{extensions: ['hex']}]}, function (fileEntry) {
@@ -384,10 +356,6 @@ TABS.firmware_flasher.initialize = function (callback) {
}
});
- $('a.updateReleasesList').click(function() {
- updateReleases();
- });
-
$(document).on('click', 'span.progressLabel a.save_firmware', function () {
chrome.fileSystem.chooseEntry({type: 'saveFile', suggestedName: 'baseflight', accepts: [{extensions: ['hex']}]}, function (fileEntry) {
if (chrome.runtime.lastError) {