Merge pull request #1216 from smoriarty21/update_fpv_max_degree

Update max degree
10.5.x-maintenance
Michael Keller 2019-04-09 21:56:32 +12:00 committed by GitHub
commit a6bd1fda6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -577,6 +577,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {
$('input[name="fpvCamAngleDegrees"]').val(RX_CONFIG.fpvCamAngleDegrees);
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
$('input[name="fpvCamAngleDegrees"]').attr("max", 90);
}
} else {
$('div.fpvCamAngleDegrees').hide();
}