diff options
author | simonqian.openocd <simonqian.openocd@gmail.com> | 2011-08-31 01:52:20 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-08-31 16:22:00 +0200 |
commit | 7e20eda9446a4c66765169dfcbc506c23f320540 (patch) | |
tree | eb8baebf475a9dcb3b8d8e027fabf1d1d62bd2a6 /src/jtag | |
parent | c8926d14579528bfcead1e179baf7cb846513db4 (diff) |
vsllink driver compile fails with'vsllink_debug_buffer' defined but not used
USB communication is handled by code under versaloon directory.
So _DEBUG_USB_COMMS_ should not be used in vsllink.c.
Attachment is the patch.
Diffstat (limited to 'src/jtag')
-rw-r--r-- | src/jtag/drivers/vsllink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/drivers/vsllink.c b/src/jtag/drivers/vsllink.c index 2274be40..e39a4d62 100644 --- a/src/jtag/drivers/vsllink.c +++ b/src/jtag/drivers/vsllink.c @@ -78,7 +78,7 @@ struct vsllink { static struct vsllink *vsllink_usb_open(void); static void vsllink_usb_close(struct vsllink *vsllink); -#if defined _DEBUG_USB_COMMS_ || defined _DEBUG_JTAG_IO_ +#if defined _DEBUG_JTAG_IO_ static void vsllink_debug_buffer(uint8_t *buffer, int length); #endif @@ -832,7 +832,7 @@ static void vsllink_usb_close(struct vsllink *vsllink) #define BYTES_PER_LINE 16 -#if defined _DEBUG_USB_COMMS_ || defined _DEBUG_JTAG_IO_ +#if defined _DEBUG_JTAG_IO_ static void vsllink_debug_buffer(uint8_t *buffer, int length) { char line[81]; @@ -849,7 +849,7 @@ static void vsllink_debug_buffer(uint8_t *buffer, int length) LOG_DEBUG("%s", line); } } -#endif /* _DEBUG_USB_COMMS_ || _DEBUG_JTAG_IO_ */ +#endif /* _DEBUG_JTAG_IO_ */ static const struct command_registration vsllink_command_handlers[] = { { |