1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 21:35:33 +03:00

Fix gps_rescue_min_start_dist (#3076)

This commit is contained in:
haslinghuis 2022-11-13 02:00:54 +01:00 committed by GitHub
parent bb8687bcbe
commit 907d5b00da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -317,6 +317,10 @@ failsafe.initialize = function (callback) {
$('input[name="gps_rescue_min_dth"]').closest('.number').hide();
}
if (semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45)) {
$('input[name="gps_rescue_min_dth"]').attr("min", 20);
}
} else {
// GPS Rescue Parameters not available
$('.pro4 > .proceduresettings').hide();