Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #536 from hydra/minor-post-merge-fixes-1
Browse files Browse the repository at this point in the history
Minor post merge fixes 1
  • Loading branch information
hydra authored May 21, 2020
2 parents 0b47c23 + f2b2d88 commit 9613994
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 5 deletions.
131 changes: 131 additions & 0 deletions src/images/rate_logos/cleanflight.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/js/tabs/firmware_flasher.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ TABS.firmware_flasher.initialize = function (callback) {
self.intel_hex = undefined;
self.parsed_hex = undefined;

var unifiedSource = 'https://api.github.com/repos/betaflight/unified-targets/contents/configs/default';
var unifiedSource = 'https://api.github.com/repos/cleanflight/unified-targets/contents/configs/default';

function onFirmwareCacheUpdate(release) {
$('select[name="firmware_version"] option').each(function () {
Expand Down
6 changes: 3 additions & 3 deletions src/js/tabs/pid_tuning.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ TABS.pid_tuning.initialize = function (callback) {
if (semver.gte(CONFIG.apiVersion, API_VERSION_1_43)) {
const ratesTypeListElement = $('select[id="ratesType"]'); // generates list
const ratesList = [
{name: "Betaflight"},
{name: "Cleanflight"},
{name: "Raceflight"},
{name: "KISS"},
{name: "Actual"},
Expand Down Expand Up @@ -2569,8 +2569,8 @@ TABS.pid_tuning.changeRatesTypeLogo = function() {
break;

// add future rates types here
default: // BetaFlight
ratesLogoElement.attr("src", "../images/rate_logos/betaflight.svg");
default: // Cleanflight
ratesLogoElement.attr("src", "../images/rate_logos/cleanflight.svg");

break;
}
Expand Down
2 changes: 1 addition & 1 deletion src/tabs/pid_tuning.html
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@
</td>
<td class="rates_logo_bg">
<div class="rates_logo_div">
<img id="ratesLogo" src="../images/rate_logos/betaflight.svg" class="rates_logo" alt="Rates logo"/>
<img id="ratesLogo" src="../images/rate_logos/cleanflight.svg" class="rates_logo" alt="Rates logo"/>
</div>
</td>
</tr>
Expand Down

0 comments on commit 9613994

Please sign in to comment.