From: Keith Packard Date: Sat, 5 Jan 2013 18:37:30 +0000 (-0800) Subject: micropeak: Use new libaltos entry point for FTDI devices X-Git-Tag: 1.1.9.3~8^2~9^2~5 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=20d54cae1eeca6c5d05bfacbafd77c8aa72247c9 micropeak: Use new libaltos entry point for FTDI devices Signed-off-by: Keith Packard --- 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 device_list = new ArrayList(); if (list != null) {