diff options
| author | Bdale Garbee <bdale@gag.com> | 2017-09-18 20:46:47 -0600 |
|---|---|---|
| committer | Bdale Garbee <bdale@gag.com> | 2017-09-18 20:46:47 -0600 |
| commit | 3ead5d54135003702f771191d2c53abb584d1695 (patch) | |
| tree | 03f812123642d41215fbc67ff6a308fb2906d77a /altosui/AltosConfigFC.java | |
| parent | b94d18396f050b61a5671b4239d2a3eb9b7a835c (diff) | |
| parent | 216ea6388a75c46891dc4687a2eb0c97dc63b136 (diff) | |
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'altosui/AltosConfigFC.java')
| -rw-r--r-- | altosui/AltosConfigFC.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/altosui/AltosConfigFC.java b/altosui/AltosConfigFC.java index beff71b7..5e2aa7f4 100644 --- a/altosui/AltosConfigFC.java +++ b/altosui/AltosConfigFC.java @@ -268,6 +268,13 @@ public class AltosConfigFC implements ActionListener { if (serial_line != null) serial_line.close(); } + else if (cmd.equals("Accel")) { + if (data.pad_orientation != AltosLib.MISSING) { + AltosUIAccelCal accel_ui = new AltosUIAccelCal(owner, serial_line, config_ui); + if (accel_ui != null) + accel_ui.doit(); + } + } } catch (InterruptedException ie) { abort(); } catch (TimeoutException te) { |
