projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4e94d78
)
altosui: Use letter names for pyro channels in pyro config UI
author
Keith Packard
<keithp@keithp.com>
Fri, 31 Jan 2014 02:38:01 +0000
(18:38 -0800)
committer
Keith Packard
<keithp@keithp.com>
Fri, 31 Jan 2014 02:39:39 +0000
(18:39 -0800)
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>
altosui/AltosConfigPyroUI.java
patch
|
blob
|
history
diff --git
a/altosui/AltosConfigPyroUI.java
b/altosui/AltosConfigPyroUI.java
index 47b2b662bb5ac7b49d4804527384cfc2feb85599..b14c39ab86e1c5ea2f0ca74d92194003d66394a3 100644
(file)
--- 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++;