Skip to content
Snippets Groups Projects
Commit 34d3bfbc authored by oharboe's avatar oharboe
Browse files

RCLK is not supported, return error instead of crashing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@968 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 52c0037c
No related branches found
No related tags found
No related merge requests found
......@@ -273,6 +273,11 @@ int ft2232_speed_div(int speed, int *khz)
int ft2232_khz(int khz, int *jtag_speed)
{
if (khz==0)
{
LOG_ERROR("RCLK not supported");
return ERROR_FAIL;
}
/* Take a look in the FT2232 manual,
* AN2232C-01 Command Processor for
* MPSSE and MCU Host Bus. Chapter 3.8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment