summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-05 10:37:30 -0800
committerKeith Packard <keithp@keithp.com>2013-01-05 10:37:30 -0800
commit20d54cae1eeca6c5d05bfacbafd77c8aa72247c9 (patch)
treeb1093aab37164dc11a341fedee55e8928fb1c9b2
parente7e71e2042f2bfc24adcc57cecfe26368eb03e8a (diff)
micropeak: Use new libaltos entry point for FTDI devices
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--micropeak/MicroUSB.java4
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) {