diff options
-rw-r--r-- | src/jtag/drivers/jlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index 4a8896ba..bc5448d5 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -236,9 +236,9 @@ static int jlink_speed(int speed) if (speed > JLINK_MAX_SPEED) { - LOG_INFO("Ignoring speed request: %dkHz exceeds %dkHz maximum", + LOG_INFO("reduce speed request: %dkHz to %dkHz maximum", speed, JLINK_MAX_SPEED); - return ERROR_OK; + speed = JLINK_MAX_SPEED; } /* check for RTCK setting */ |