From eb9262901aff4f69fa3d2357693634cbee9bca46 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 30 Jan 2014 18:38:01 -0800 Subject: [PATCH 1/1] 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 --- altosui/AltosConfigPyroUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.30.2