summaryrefslogtreecommitdiff
path: root/altosui/AltosIgnitor.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-29 14:36:14 -0700
committerKeith Packard <keithp@keithp.com>2014-05-29 14:36:14 -0700
commitbf684a4c290573a3aa627fd8ddf6f6ebbe5fa057 (patch)
treea02bccd0d39daaa2cd5ac9bc87ebd4bc6393c552 /altosui/AltosIgnitor.java
parentf80075be4ebb9c5fe00c24b8c7638fad23267424 (diff)
telegps: Add graph display
Moved the altosui graph files to altosuilib and fixed things up. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosIgnitor.java')
-rw-r--r--altosui/AltosIgnitor.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/altosui/AltosIgnitor.java b/altosui/AltosIgnitor.java
index 27917b30..7f62938d 100644
--- a/altosui/AltosIgnitor.java
+++ b/altosui/AltosIgnitor.java
@@ -114,10 +114,6 @@ public class AltosIgnitor extends JComponent implements AltosFlightDisplay {
}
}
- public static String ignitor_name(int i) {
- return String.format("Ignitor %c", 'A' + i);
- }
-
class Ignitor extends LaunchStatus {
int ignitor;
@@ -131,7 +127,7 @@ public class AltosIgnitor extends JComponent implements AltosFlightDisplay {
}
public Ignitor (GridBagLayout layout, int y) {
- super(layout, y, String.format ("%s Voltage", ignitor_name(y)));
+ super(layout, y, String.format ("%s Voltage", AltosLib.ignitor_name(y)));
ignitor = y;
}
}