projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove whitespace at end of lines, step 2.
[fw/openocd]
/
src
/
jtag
/
ft2232.c
diff --git
a/src/jtag/ft2232.c
b/src/jtag/ft2232.c
index a84670bf035912e132d5002668de74b20623115b..c870262e1bfc1cf89cd64caac55dfa13fcb9d233 100644
(file)
--- a/
src/jtag/ft2232.c
+++ b/
src/jtag/ft2232.c
@@
-411,8
+411,8
@@
static int ft2232_read(uint8_t* buf, uint32_t size, uint32_t* bytes_read)
if (*bytes_read < size)
{
if (*bytes_read < size)
{
- LOG_ERROR("couldn't read the requested number of bytes from FT2232 device (%i < %i)",
- (unsigned int)(*bytes_read),
+ LOG_ERROR("couldn't read the requested number of bytes from FT2232 device (%i < %i)",
+ (unsigned int)(*bytes_read),
(unsigned int)size);
return ERROR_JTAG_DEVICE_ERROR;
}
(unsigned int)size);
return ERROR_JTAG_DEVICE_ERROR;
}
@@
-965,7
+965,7
@@
static int ft2232_large_scan(scan_command_t* cmd, enum scan_type type, uint8_t*
LOG_ERROR("couldn't write MPSSE commands to FT2232");
exit(-1);
}
LOG_ERROR("couldn't write MPSSE commands to FT2232");
exit(-1);
}
- LOG_DEBUG("ft2232_buffer_size: %i, bytes_written: %i",
+ LOG_DEBUG("ft2232_buffer_size: %i, bytes_written: %i",
ft2232_buffer_size, (int)bytes_written);
ft2232_buffer_size = 0;
ft2232_buffer_size, (int)bytes_written);
ft2232_buffer_size = 0;
@@
-1019,8
+1019,8
@@
static int ft2232_large_scan(scan_command_t* cmd, enum scan_type type, uint8_t*
LOG_ERROR("couldn't write MPSSE commands to FT2232");
exit(-1);
}
LOG_ERROR("couldn't write MPSSE commands to FT2232");
exit(-1);
}
- LOG_DEBUG("ft2232_buffer_size: %i, bytes_written: %i",
- ft2232_buffer_size,
+ LOG_DEBUG("ft2232_buffer_size: %i, bytes_written: %i",
+ ft2232_buffer_size,
(int)bytes_written);
ft2232_buffer_size = 0;
(int)bytes_written);
ft2232_buffer_size = 0;
@@
-1031,8
+1031,8
@@
static int ft2232_large_scan(scan_command_t* cmd, enum scan_type type, uint8_t*
LOG_ERROR("couldn't read from FT2232");
exit(-1);
}
LOG_ERROR("couldn't read from FT2232");
exit(-1);
}
- LOG_DEBUG("thisrun_read: %i, bytes_read: %i",
- thisrun_read,
+ LOG_DEBUG("thisrun_read: %i, bytes_read: %i",
+ thisrun_read,
(int)bytes_read);
receive_pointer += bytes_read;
}
(int)bytes_read);
receive_pointer += bytes_read;
}
@@
-1129,8
+1129,8
@@
static int ft2232_large_scan(scan_command_t* cmd, enum scan_type type, uint8_t*
LOG_ERROR("couldn't write MPSSE commands to FT2232");
exit(-1);
}
LOG_ERROR("couldn't write MPSSE commands to FT2232");
exit(-1);
}
- LOG_DEBUG("ft2232_buffer_size: %i, bytes_written: %i",
- ft2232_buffer_size,
+ LOG_DEBUG("ft2232_buffer_size: %i, bytes_written: %i",
+ ft2232_buffer_size,
(int)bytes_written);
ft2232_buffer_size = 0;
(int)bytes_written);
ft2232_buffer_size = 0;
@@
-1141,8
+1141,8
@@
static int ft2232_large_scan(scan_command_t* cmd, enum scan_type type, uint8_t*
LOG_ERROR("couldn't read from FT2232");
exit(-1);
}
LOG_ERROR("couldn't read from FT2232");
exit(-1);
}
- LOG_DEBUG("thisrun_read: %i, bytes_read: %i",
- thisrun_read,
+ LOG_DEBUG("thisrun_read: %i, bytes_read: %i",
+ thisrun_read,
(int)bytes_read);
receive_pointer += bytes_read;
}
(int)bytes_read);
receive_pointer += bytes_read;
}