summaryrefslogtreecommitdiff
path: root/altosui/AltosConfigPyroUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-01-30 18:38:01 -0800
committerKeith Packard <keithp@keithp.com>2014-01-30 18:39:39 -0800
commiteb9262901aff4f69fa3d2357693634cbee9bca46 (patch)
tree7a45c90c09eddfb2f30cc2667928ee1cf1e7020c /altosui/AltosConfigPyroUI.java
parent4e94d785d9a1cce4eb5b3063d55e825719afb58e (diff)
altosui: Use letter names for pyro channels in pyro config UI
TeleMega has the extra pyro channels labeled A, B, C, D instead of 0, 1, 2, 3. Use those names in the UI to avoid confusion. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosConfigPyroUI.java')
-rw-r--r--altosui/AltosConfigPyroUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosConfigPyroUI.java b/altosui/AltosConfigPyroUI.java
index 47b2b662..b14c39ab 100644
--- a/altosui/AltosConfigPyroUI.java
+++ b/altosui/AltosConfigPyroUI.java
@@ -232,7 +232,7 @@ public class AltosConfigPyroUI
c.fill = GridBagConstraints.NONE;
c.anchor = GridBagConstraints.CENTER;
c.insets = il;
- label = new JLabel(String.format("Pyro Channel %d", channel));
+ label = new JLabel(String.format("Pyro Channel %c", 'A' + channel));
pane.add(label, c);
y++;