Skip to content

Commit 7981dea

Browse files
committed
delete options used to control "TOO LOW - TERRAIN" alert
Signed-off-by: Octol1ttle <[email protected]>
1 parent 1530404 commit 7981dea

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

src/main/kotlin/ru/octol1ttle/flightassistant/config/FAConfigScreen.kt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -419,16 +419,6 @@ object FAConfigScreen {
419419
binding(current::altitudeLossAlertMethod, defaults.altitudeLossAlertMethod)
420420
controller(enumSwitch(SafetyOptions.AlertMethod::class.java))
421421
}
422-
rootOptions.register("gpws.unsafe_terrain_clearance.enabled") {
423-
setSafetyName()
424-
binding(current::unsafeTerrainClearanceAlert, defaults.unsafeTerrainClearanceAlert)
425-
controller(tickBox())
426-
}
427-
rootOptions.register("gpws.unsafe_terrain_clearance.alert_method") {
428-
setSafetyName()
429-
binding(current::unsafeTerrainClearanceAlertMethod, defaults.unsafeTerrainClearanceAlertMethod)
430-
controller(enumSwitch(SafetyOptions.AlertMethod::class.java))
431-
}
432422
rootOptions.register("gpws.below_glide_slope.alert_mode") {
433423
setSafetyName()
434424
binding(current::belowGlideSlopeAlertMode, defaults.belowGlideSlopeAlertMode)

src/main/kotlin/ru/octol1ttle/flightassistant/config/options/SafetyOptions.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ class SafetyOptions {
6464
@SerialEntry
6565
var altitudeLossAlertMethod: AlertMethod = AlertMethod.SCREEN_AND_AUDIO
6666

67-
@SerialEntry
68-
var unsafeTerrainClearanceAlert: Boolean = true
69-
@SerialEntry
70-
var unsafeTerrainClearanceAlertMethod: AlertMethod = AlertMethod.SCREEN_AND_AUDIO
71-
7267
@SerialEntry
7368
var belowGlideSlopeAlertMode: AlertMode = AlertMode.WARNING_AND_CAUTION
7469
@SerialEntry
@@ -108,7 +103,6 @@ class SafetyOptions {
108103
this.obstacleAutoPitch = false
109104

110105
this.altitudeLossAlert = false
111-
this.unsafeTerrainClearanceAlert = false
112106
this.belowGlideSlopeAlertMode = AlertMode.DISABLED
113107

114108
this.fireworkExplosiveAlert = false

src/main/resources/assets/flightassistant/lang/en_us.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ config.flightassistant:
216216
altitude_loss_with_toga:
217217
enabled: Alert about altitude loss during takeoff/go around
218218
alert_method: Altitude loss during takeoff/go around alert method
219-
unsafe_terrain_clearance:
220-
enabled: Alert about unsafe terrain clearance when enroute
221-
alert_method: Unsafe terrain clearance alert method
222219
below_glide_slope:
223220
alert_mode: Below glide slope alert mode
224221
alert_method: Below glide slope alert method

src/main/resources/assets/flightassistant/lang/ru_ru.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,6 @@ config.flightassistant:
220220
altitude_loss_with_toga:
221221
enabled: Предупреждать о потере высоты при взлёте/уходе на второй круг
222222
alert_method: Способ предупреждения о потере высоте при взлёте/уходе на второй круг
223-
unsafe_terrain_clearance:
224-
enabled: Предупреждать об опасной близости к земли при полёте по маршруту
225-
alert_method: Способ предупреждения об опасной близости к земле
226223
below_glide_slope:
227224
alert_mode: Режим предупреждения о снижении ниже глиссады
228225
alert_method: Способ предупреждения о снижении ниже глиссады

0 commit comments

Comments
 (0)