mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Update URLs for firmware and changelog.
This commit is contained in:
parent
066c355170
commit
875a81e11d
3 changed files with 7 additions and 3 deletions
|
@ -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>
|
<span>09.04.2014 - 0.50.2 cleanflight</span>
|
||||||
<p>
|
<p>
|
||||||
- Update default data filenames.<br />
|
- Update default data filenames.<br />
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"minimum_chrome_version": "36",
|
"minimum_chrome_version": "36",
|
||||||
"version": "0.50.2",
|
"version": "0.50.3",
|
||||||
"author": "Hydra",
|
"author": "Hydra",
|
||||||
"name": "Cleanflight - Configurator",
|
"name": "Cleanflight - Configurator",
|
||||||
"short_name": "cleanflight",
|
"short_name": "cleanflight",
|
||||||
|
|
|
@ -67,7 +67,7 @@ TABS.firmware_flasher.initialize = function (callback) {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('a.load_remote_file').click(function () {
|
$('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;
|
intel_hex = data;
|
||||||
|
|
||||||
parse_hex(intel_hex, function (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)');
|
$('span.progressLabel').text('Loaded Online Firmware: (' + parsed_hex.bytes_total + ' bytes)');
|
||||||
$('a.flash_firmware').removeClass('locked');
|
$('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],
|
var data = data[0],
|
||||||
d = new Date(data.commit.author.date),
|
d = new Date(data.commit.author.date),
|
||||||
date = ('0' + (d.getMonth() + 1)).slice(-2) + '.' + ('0' + (d.getDate() + 1)).slice(-2) + '.' + d.getFullYear();
|
date = ('0' + (d.getMonth() + 1)).slice(-2) + '.' + ('0' + (d.getDate() + 1)).slice(-2) + '.' + d.getFullYear();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue