forked from auracaster/openocd
SimonQian <simonqian@simonqian.com> patch for error compiling vsllink if --enable-verbose-jtag-io is set
git-svn-id: svn://svn.berlios.de/openocd/trunk@1545 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -242,7 +242,7 @@ static int vsllink_usb_message(vsllink_jtag_t *vsllink_jtag, int out_length, int
|
|||||||
static int vsllink_usb_write(vsllink_jtag_t *vsllink_jtag, int out_length);
|
static int vsllink_usb_write(vsllink_jtag_t *vsllink_jtag, int out_length);
|
||||||
static int vsllink_usb_read(vsllink_jtag_t *vsllink_jtag);
|
static int vsllink_usb_read(vsllink_jtag_t *vsllink_jtag);
|
||||||
|
|
||||||
#ifdef _DEBUG_USB_COMMS_
|
#if defined _DEBUG_USB_COMMS_ || defined _DEBUG_JTAG_IO_
|
||||||
static void vsllink_debug_buffer(u8 *buffer, int length);
|
static void vsllink_debug_buffer(u8 *buffer, int length);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -1917,7 +1917,7 @@ static int vsllink_usb_read(vsllink_jtag_t *vsllink_jtag)
|
|||||||
|
|
||||||
#define BYTES_PER_LINE 16
|
#define BYTES_PER_LINE 16
|
||||||
|
|
||||||
#ifdef _DEBUG_USB_COMMS_
|
#if defined _DEBUG_USB_COMMS_ || defined _DEBUG_JTAG_IO_
|
||||||
static void vsllink_debug_buffer(u8 *buffer, int length)
|
static void vsllink_debug_buffer(u8 *buffer, int length)
|
||||||
{
|
{
|
||||||
char line[81];
|
char line[81];
|
||||||
@@ -1936,4 +1936,4 @@ static void vsllink_debug_buffer(u8 *buffer, int length)
|
|||||||
LOG_DEBUG("%s", line);
|
LOG_DEBUG("%s", line);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // _DEBUG_USB_COMMS_
|
#endif // _DEBUG_USB_COMMS_ || _DEBUG_JTAG_IO_
|
||||||
|
|||||||
Reference in New Issue
Block a user