diff options
author | Keith Packard <keithp@keithp.com> | 2013-01-05 10:37:30 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-01-05 10:37:30 -0800 |
commit | 20d54cae1eeca6c5d05bfacbafd77c8aa72247c9 (patch) | |
tree | b1093aab37164dc11a341fedee55e8928fb1c9b2 | |
parent | e7e71e2042f2bfc24adcc57cecfe26368eb03e8a (diff) |
micropeak: Use new libaltos entry point for FTDI devices
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | micropeak/MicroUSB.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/micropeak/MicroUSB.java b/micropeak/MicroUSB.java index 908ac51b..f56d81d4 100644 --- a/micropeak/MicroUSB.java +++ b/micropeak/MicroUSB.java @@ -50,7 +50,7 @@ public class MicroUSB extends altos_device implements AltosDevice { String name = getName(); if (name == null) name = "Altus Metrum"; - return String.format("%-20.20s %s", + return String.format("%-24.24s %s", name, getPath()); } @@ -90,7 +90,7 @@ public class MicroUSB extends altos_device implements AltosDevice { if (!load_library()) return null; - SWIGTYPE_p_altos_list list = libaltos.altos_list_start(); + SWIGTYPE_p_altos_list list = libaltos.altos_ftdi_list_start(); ArrayList<MicroUSB> device_list = new ArrayList<MicroUSB>(); if (list != null) { |