Merge pull request #708 from wind0r/fix_small_angle
only show smallangle on newer releases10.3.x-maintenance
commit
09bca92e9d
|
@ -615,12 +615,12 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
|
||||
$('div.cycles').show();
|
||||
}
|
||||
|
||||
$('._smallAngle').hide();
|
||||
if(semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||
$('input[id="configurationSmallAngle"]').val(ARMING_CONFIG.small_angle);
|
||||
if (SENSOR_CONFIG.acc_hardware !== 1) {
|
||||
$('._smallAngle').show();
|
||||
} else {
|
||||
$('._smallAngle').hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue