projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TARGET: removed unsed parameter
[fw/openocd]
/
src
/
target
/
target_request.c
diff --git
a/src/target/target_request.c
b/src/target/target_request.c
index fc0ba1ac0a615955042eac099d58a8fe25249498..ec3d48e2603f2f2fe4eaa36eeafaeaef726e79fa 100644
(file)
--- a/
src/target/target_request.c
+++ b/
src/target/target_request.c
@@
-27,12
+27,13
@@
#include "config.h"
#endif
#include "config.h"
#endif
+#include <helper/log.h>
+#include <helper/binarybuffer.h>
+
#include "target.h"
#include "target_request.h"
#include "target_type.h"
#include "target.h"
#include "target_request.h"
#include "target_type.h"
-#include <helper/binarybuffer.h>
#include "trace.h"
#include "trace.h"
-#include <helper/log.h>
static int charmsg_mode = 0;
static int charmsg_mode = 0;
@@
-302,10
+303,10
@@
COMMAND_HANDLER(handle_target_request_debugmsgs_command)
static const struct command_registration target_req_exec_command_handlers[] = {
{
.name = "debugmsgs",
static const struct command_registration target_req_exec_command_handlers[] = {
{
.name = "debugmsgs",
- .handler =
&
handle_target_request_debugmsgs_command,
+ .handler = handle_target_request_debugmsgs_command,
.mode = COMMAND_EXEC,
.mode = COMMAND_EXEC,
- .help = "
set
reception of debug messages from target",
- .usage = "
(enable|disable)
",
+ .help = "
display and/or modify
reception of debug messages from target",
+ .usage = "
['enable'|'charmsg'|'disable']
",
},
COMMAND_REGISTRATION_DONE
};
},
COMMAND_REGISTRATION_DONE
};