]> git.sur5r.net Git - openocd/commitdiff
vsllink -- add comment
authorDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 18 Jan 2010 21:17:05 +0000 (13:17 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Mon, 18 Jan 2010 21:18:33 +0000 (13:18 -0800)
Previous patch deserved *inline* comment, not just
in git revision history.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/jtag/drivers/vsllink.c

index 5c9a8db0cabfc2a95c8839859474bf2a51c988ca..65c3bf17f0bcbd40678e00f74bdea9579447054a 100644 (file)
@@ -476,6 +476,9 @@ static int vsllink_init(void)
        }
        VSLLINK_USB_TIMEOUT = to_tmp;
 
+       /* Some older firmware versions sometimes fail if the
+        * voltage isn't read first.
+        */
        vsllink_simple_command(0x01);
        result = vsllink_usb_read(vsllink_handle);
        if (result != 2)