2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 05:55:41 +10:00

vsllink -- add comment

Previous patch deserved *inline* comment, not just
in git revision history.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell 2010-01-18 13:17:05 -08:00
parent 56d2c86500
commit 5ab34b28ce

View 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)