diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-18 13:17:05 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-18 13:18:33 -0800 |
commit | 5ab34b28ce3378a0a36b122a07af4f0f4769a24f (patch) | |
tree | 87b77d130ebaa02cb16175cf7b544dce1c66f9a0 /src | |
parent | 56d2c86500be87c87150bcfc1b2fe59ece9a45f4 (diff) | |
download | openocd+libswd-5ab34b28ce3378a0a36b122a07af4f0f4769a24f.tar.gz openocd+libswd-5ab34b28ce3378a0a36b122a07af4f0f4769a24f.tar.bz2 openocd+libswd-5ab34b28ce3378a0a36b122a07af4f0f4769a24f.tar.xz openocd+libswd-5ab34b28ce3378a0a36b122a07af4f0f4769a24f.zip |
vsllink -- add comment
Previous patch deserved *inline* comment, not just
in git revision history.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/drivers/vsllink.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jtag/drivers/vsllink.c b/src/jtag/drivers/vsllink.c index 5c9a8db0..65c3bf17 100644 --- a/src/jtag/drivers/vsllink.c +++ b/src/jtag/drivers/vsllink.c @@ -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) |