diff options
| author | Keith Packard <keithp@keithp.com> | 2012-01-02 22:35:41 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-06-02 19:37:26 -0700 | 
| commit | 5270a0f1416baef5fde08547c6c98d97f973ae95 (patch) | |
| tree | b9fbfcebf0c9b1869c162ccc9b55d1c7b1579642 /altosui/AltosScanUI.java | |
| parent | 93305717ac4c993c88d9144d797ca64d26db97c5 (diff) | |
altosui: Move telemetry reader &c to altoslib
Move all of the device and file reading code into altoslib
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosScanUI.java')
| -rw-r--r-- | altosui/AltosScanUI.java | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/altosui/AltosScanUI.java b/altosui/AltosScanUI.java index 1be8aa26..44eeda6d 100644 --- a/altosui/AltosScanUI.java +++ b/altosui/AltosScanUI.java @@ -208,7 +208,7 @@ public class AltosScanUI  	}  	void next() throws InterruptedException, TimeoutException { -		reader.serial.set_monitor(false); +		reader.set_monitor(false);  		Thread.sleep(100);  		++frequency_index;  		if (frequency_index >= frequencies.length || @@ -224,7 +224,7 @@ public class AltosScanUI  		}  		set_frequency();  		set_label(); -		reader.serial.set_monitor(true); +		reader.set_monitor(true);  	} @@ -312,7 +312,7 @@ public class AltosScanUI  		if (device == null)  			return false;  		try { -			reader = new AltosTelemetryReader(device); +			reader = new AltosTelemetryReader(new AltosSerial(device));  			set_frequency();  			set_telemetry();  			try {  | 
