summaryrefslogtreecommitdiff
path: root/altosui/AltosUSBDevice.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-04-14 10:22:30 -0700
committerKeith Packard <keithp@keithp.com>2011-04-14 10:22:30 -0700
commit84163eee7847a09fe78f8762b28f857d76bf5755 (patch)
treebfb8063450c545550cc2a428ae80ff1307bf15f0 /altosui/AltosUSBDevice.java
parent9cdef76c1275b343099d0d01af82d7eadd36a410 (diff)
altosui: Make AltosBTDevice implement AltosDevice interface
This will allow the use of either USB or BT devices through the AltosDevice interface. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosUSBDevice.java')
-rw-r--r--altosui/AltosUSBDevice.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/altosui/AltosUSBDevice.java b/altosui/AltosUSBDevice.java
index 03ddf5a8..deed0056 100644
--- a/altosui/AltosUSBDevice.java
+++ b/altosui/AltosUSBDevice.java
@@ -43,7 +43,7 @@ public class AltosUSBDevice extends altos_device implements AltosDevice {
return libaltos.altos_open(this);
}
- public boolean isAltusMetrum() {
+ private boolean isAltusMetrum() {
if (getVendor() != Altos.vendor_altusmetrum)
return false;
if (getProduct() < Altos.product_altusmetrum_min)