mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-20 23:05:15 +03:00
Merge pull request #1216 from smoriarty21/update_fpv_max_degree
Update max degree
This commit is contained in:
commit
a6bd1fda6f
1 changed files with 3 additions and 0 deletions
|
@ -577,6 +577,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
||||||
|
|
||||||
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {
|
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {
|
||||||
$('input[name="fpvCamAngleDegrees"]').val(RX_CONFIG.fpvCamAngleDegrees);
|
$('input[name="fpvCamAngleDegrees"]').val(RX_CONFIG.fpvCamAngleDegrees);
|
||||||
|
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
|
||||||
|
$('input[name="fpvCamAngleDegrees"]').attr("max", 90);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$('div.fpvCamAngleDegrees').hide();
|
$('div.fpvCamAngleDegrees').hide();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue