summaryrefslogtreecommitdiff
path: root/altosui/AltosDescent.java
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2013-12-18 18:25:35 -0700
committerBdale Garbee <bdale@gag.com>2013-12-18 18:25:35 -0700
commitd9982c257463f23be940eea66bd4dc3aadff0043 (patch)
treea4744aa4f82b6e9a0a7d019c4112516191aed7c8 /altosui/AltosDescent.java
parent1b97ed2b64bcbcd969124964f1e49837899f1c70 (diff)
parentb63fc05481bf6d57e6385704ce53c1c19afa9c2e (diff)
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'altosui/AltosDescent.java')
-rw-r--r--altosui/AltosDescent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosDescent.java b/altosui/AltosDescent.java
index 77776ff2..e73d990c 100644
--- a/altosui/AltosDescent.java
+++ b/altosui/AltosDescent.java
@@ -323,7 +323,7 @@ public class AltosDescent extends JComponent implements AltosFlightDisplay {
class Apogee extends DescentStatus {
void show (AltosState state, AltosListenerState listener_state) {
show("%4.2f V", state.apogee_voltage);
- lights.set(state.apogee_voltage > 3.7);
+ lights.set(state.apogee_voltage >= AltosLib.ao_igniter_good);
}
public Apogee (GridBagLayout layout, int y) {
super(layout, y, "Apogee Igniter Voltage");
@@ -335,7 +335,7 @@ public class AltosDescent extends JComponent implements AltosFlightDisplay {
class Main extends DescentStatus {
void show (AltosState state, AltosListenerState listener_state) {
show("%4.2f V", state.main_voltage);
- lights.set(state.main_voltage > 3.7);
+ lights.set(state.main_voltage >= AltosLib.ao_igniter_good);
}
public Main (GridBagLayout layout, int y) {
super(layout, y, "Main Igniter Voltage");