ao-tools: Use TeleDongle for default ao-dbg target
authorKeith Packard <keithp@keithp.com>
Mon, 26 Aug 2013 23:39:47 +0000 (16:39 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 26 Aug 2013 23:39:47 +0000 (16:39 -0700)
Makes more sense than assuming we're still using the old TI developer board.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/ao-dbg/ao-dbg-parse.c

index dcb9099df8cbe8d1742a2f877b9584bc5fa9c3a8..ba69183431c823f508bb318afff89c291ee77abc 100644 (file)
@@ -198,7 +198,7 @@ command_read (void)
        if (!s51_tty) {
                if (!s51_device)
                        s51_device = getenv("AO_DBG_DEVICE");
        if (!s51_tty) {
                if (!s51_device)
                        s51_device = getenv("AO_DBG_DEVICE");
-               s51_tty = cc_usbdevs_find_by_arg(s51_device, "TIDongle");
+               s51_tty = cc_usbdevs_find_by_arg(s51_device, "TeleDongle");
        }
        s51_dbg = ccdbg_open (s51_tty);
        if (!s51_dbg)
        }
        s51_dbg = ccdbg_open (s51_tty);
        if (!s51_dbg)