From bfc0ac58f87b8e6c4937de703ac89709f8eac951 Mon Sep 17 00:00:00 2001 From: mifi Date: Mon, 26 May 2008 17:32:15 +0000 Subject: [PATCH] - renamed EMU_CMD_HW_JTAG to EMU_CMD_HW_JTAG3 git-svn-id: svn://svn.berlios.de/openocd/trunk@689 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jlink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 07ce9a2c..7ca53d80 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -65,7 +65,7 @@ static u8 usb_emu_result_buffer[JLINK_EMU_RESULT_BUFFER_SIZE]; #define EMU_CMD_VERSION 0x01 #define EMU_CMD_SET_SPEED 0x05 #define EMU_CMD_GET_STATE 0x07 -#define EMU_CMD_HW_JTAG 0xcf +#define EMU_CMD_HW_JTAG3 0xcf #define EMU_CMD_HW_RESET0 0xdc #define EMU_CMD_HW_RESET1 0xdd #define EMU_CMD_HW_TRST0 0xde @@ -664,7 +664,7 @@ int jlink_tap_execute() byte_length = tap_length / 8; - usb_out_buffer[0] = EMU_CMD_HW_JTAG; + usb_out_buffer[0] = EMU_CMD_HW_JTAG3; usb_out_buffer[1] = 0; usb_out_buffer[2] = (tap_length >> 0) & 0xff; usb_out_buffer[3] = (tap_length >> 8) & 0xff; -- 2.39.5