diff options
| author | Keith Packard <keithp@keithp.com> | 2012-01-02 22:05:47 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-01-02 22:05:47 -0800 |
| commit | bc5e669afc560540c1f1f58e780c6528ccfbc669 (patch) | |
| tree | 48c2eac38366a0cf68d15de8fd51591b40aa376b /altosui/AltosUIPreferences.java | |
| parent | 8942aa5118ad2ec735a08365726d23f393b722bf (diff) | |
altosui: Pull most of AltosSerial into AltosLink
Share basic command processing across java users
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUIPreferences.java')
| -rw-r--r-- | altosui/AltosUIPreferences.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/altosui/AltosUIPreferences.java b/altosui/AltosUIPreferences.java index 38af734e..10ab26c3 100644 --- a/altosui/AltosUIPreferences.java +++ b/altosui/AltosUIPreferences.java @@ -58,7 +58,7 @@ public class AltosUIPreferences extends AltosPreferences { ui_listeners = new LinkedList<AltosUIListener>(); serial_debug = preferences.getBoolean(serialDebugPreference, false); - AltosSerial.set_debug(serial_debug); + AltosLink.set_debug(serial_debug); } static { init(); } @@ -162,7 +162,7 @@ public class AltosUIPreferences extends AltosPreferences { } public static void set_serial_debug(boolean new_serial_debug) { serial_debug = new_serial_debug; - AltosSerial.set_debug(serial_debug); + AltosLink.set_debug(serial_debug); synchronized (preferences) { preferences.putBoolean(serialDebugPreference, serial_debug); flush_preferences(); |
