From 27e8dcc963530778d542f7346f3a25424d11f5e7 Mon Sep 17 00:00:00 2001 From: Paul Nokel Date: Thu, 30 Jun 2016 18:37:36 +0200 Subject: [PATCH] added caching for betaflight releases in the firmware flasher --- _locales/en/messages.json | 42 +++++++++-------------- tabs/firmware_flasher.html | 13 +++++--- tabs/firmware_flasher.js | 68 ++++++++++++++++++++++++++++---------- 3 files changed, 74 insertions(+), 49 deletions(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index c682e8d2..4b8b7362 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1408,6 +1408,9 @@ "firmwareFlasherButtonLoadOnline": { "message": "Load Firmware [Online]" }, + "firmwareFlasherButtonUpdateReleasesList": { + "message": "Force Releases update" + }, "firmwareFlasherFlashFirmware": { "message": "Flash Firmware" }, @@ -1543,32 +1546,17 @@ "pidTuningGps": { "message": "GPS Navigation" }, - "pidTuningStrength": { - "message": "Strength" + "pidTuningLevelP": { + "message": "Strength (Angle)" }, - "pidTuningTransition": { - "message": "Transition" + "pidTuningLevelI": { + "message": "Strength (Horizon)" }, - "pidTuningHorizon": { - "message": "Horizon" - }, - "pidTuningAngle": { - "message": "Angle" + "pidTuningLevelD": { + "message": "Transition (Horizon)" }, "pidTuningLevelHelp": { - "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)" + "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." }, "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. " @@ -1691,11 +1679,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 6085b794..b22f325a 100755 --- a/tabs/firmware_flasher.html +++ b/tabs/firmware_flasher.html @@ -7,7 +7,12 @@ - + + +
+ +
+