]> git.sur5r.net Git - openocd/commitdiff
stlink_usb: fix typo
authorJim Paris <jim@jtan.com>
Fri, 11 Sep 2015 17:00:54 +0000 (13:00 -0400)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 30 Sep 2015 21:47:27 +0000 (22:47 +0100)
Change-Id: I3cf5ced568319878b8bf40743e4c07718f630c68
Signed-off-by: Jim Paris <jim@jtan.com>
Reviewed-on: http://openocd.zylin.com/2953
Tested-by: jenkins
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c

index e129e8099e1e29020b11bd6580f740b11c9ca006..a4847abd6378e8b404e1f8b93704f43464b7a555 100644 (file)
@@ -390,7 +390,7 @@ static int stlink_usb_error_check(void *handle)
                        LOG_DEBUG("wait status SWD_AP_WAIT (0x%x)", STLINK_SWD_AP_WAIT);
                        return ERROR_WAIT;
                case STLINK_SWD_DP_WAIT:
-                       LOG_DEBUG("wait status SWD_DP_WAIT (0x%x)", STLINK_SWD_AP_WAIT);
+                       LOG_DEBUG("wait status SWD_DP_WAIT (0x%x)", STLINK_SWD_DP_WAIT);
                        return ERROR_WAIT;
                case STLINK_JTAG_WRITE_ERROR:
                        LOG_DEBUG("Write error");