diff options
author | Keith Packard <keithp@keithp.com> | 2010-09-09 20:39:41 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-09-09 20:39:41 -0700 |
commit | 72a5c1258db92d0ddd660bfa875e8e55cab47af7 (patch) | |
tree | 7682342b2f1ac457674fadef94dc084eca9e7792 /ao-tools | |
parent | 031fd9a954f2e3447d0150eb4ecc81af7b620dca (diff) |
altosui: Remove some debug printfs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao-tools')
-rw-r--r-- | ao-tools/altosui/AltosDevice.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ao-tools/altosui/AltosDevice.java b/ao-tools/altosui/AltosDevice.java index d671031d..f646305b 100644 --- a/ao-tools/altosui/AltosDevice.java +++ b/ao-tools/altosui/AltosDevice.java @@ -113,11 +113,6 @@ public class AltosDevice extends altos_device { public boolean matchProduct(int want_product) { - System.out.printf("vendor %x product %x want %x\n", - getVendor(), getProduct(), want_product); - System.out.printf("vendor_altusmetrum: %d\n", vendor_altusmetrum); - System.out.printf("telemetrum: %d\n", product_telemetrum); - if (!isAltusMetrum()) return false; @@ -139,23 +134,19 @@ public class AltosDevice extends altos_device { } static AltosDevice[] list(int product) { - if (!load_library()) { - System.out.printf("no library\n"); + if (!load_library()) return null; - } SWIGTYPE_p_altos_list list = libaltos.altos_list_start(); ArrayList<AltosDevice> device_list = new ArrayList<AltosDevice>(); if (list != null) { - System.out.printf("got device list\n"); SWIGTYPE_p_altos_file file; for (;;) { AltosDevice device = new AltosDevice(); if (libaltos.altos_list_next(list, device) == 0) break; - System.out.printf("got device\n"); if (device.matchProduct(product)) device_list.add(device); } |