Update URLs for firmware and changelog.

10.3.x-maintenance
Dominic Clifton 2014-10-01 12:11:45 +01:00
parent 066c355170
commit 875a81e11d
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
<span>09.04.2014 - 0.50.3 cleanflight</span>
<p>
- Update URLs.<br />
</p>
<span>09.04.2014 - 0.50.2 cleanflight</span>
<p>
- Update default data filenames.<br />

View File

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"minimum_chrome_version": "36",
"version": "0.50.2",
"version": "0.50.3",
"author": "Hydra",
"name": "Cleanflight - Configurator",
"short_name": "cleanflight",

View File

@ -67,7 +67,7 @@ TABS.firmware_flasher.initialize = function (callback) {
});
$('a.load_remote_file').click(function () {
$.get('https://raw.githubusercontent.com/hydra/cleanflight/master/obj/cleanflight_NAZE.hex', function (data) {
$.get('https://raw.githubusercontent.com/cleanflight/cleanflight/master/obj/cleanflight_NAZE.hex', function (data) {
intel_hex = data;
parse_hex(intel_hex, function (data) {
@ -78,7 +78,7 @@ TABS.firmware_flasher.initialize = function (callback) {
$('span.progressLabel').text('Loaded Online Firmware: (' + parsed_hex.bytes_total + ' bytes)');
$('a.flash_firmware').removeClass('locked');
$.get('https://api.github.com/repos/hydra/cleanflight/commits?page=1&per_page=1&path=obj/cleanflight_NAZE.hex', function (data) {
$.get('https://api.github.com/repos/cleanflight/cleanflight/commits?page=1&per_page=1&path=obj/cleanflight_NAZE.hex', function (data) {
var data = data[0],
d = new Date(data.commit.author.date),
date = ('0' + (d.getMonth() + 1)).slice(-2) + '.' + ('0' + (d.getDate() + 1)).slice(-2) + '.' + d.getFullYear();