projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change return value on error.
[fw/openocd]
/
src
/
jtag
/
drivers
/
at91rm9200.c
diff --git
a/src/jtag/drivers/at91rm9200.c
b/src/jtag/drivers/at91rm9200.c
index f7494fe3705529cbd916542d986d986e80401708..6d0dface23a81abe5fa44fb17e29707fa28d471e 100644
(file)
--- a/
src/jtag/drivers/at91rm9200.c
+++ b/
src/jtag/drivers/at91rm9200.c
@@
-175,7
+175,7
@@
static int at91rm9200_speed(int speed)
COMMAND_HANDLER(at91rm9200_handle_device_command)
{
if (CMD_ARGC == 0)
COMMAND_HANDLER(at91rm9200_handle_device_command)
{
if (CMD_ARGC == 0)
- return ERROR_
OK
;
+ return ERROR_
COMMAND_SYNTAX_ERROR
;
/* only if the device name wasn't overwritten by cmdline */
if (at91rm9200_device == 0)
/* only if the device name wasn't overwritten by cmdline */
if (at91rm9200_device == 0)