Remove whitespace at end of lines, step 2.
- Replace '\s*$' with ''. git-svn-id: svn://svn.berlios.de/openocd/trunk@2380 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -411,8 +411,8 @@ static int ft2232_read(uint8_t* buf, uint32_t size, uint32_t* bytes_read)
|
||||
|
||||
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;
|
||||
}
|
||||
@@ -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_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;
|
||||
|
||||
@@ -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_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;
|
||||
|
||||
@@ -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_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;
|
||||
}
|
||||
@@ -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_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;
|
||||
|
||||
@@ -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_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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user