projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Encapsulate the global "jtag" jtag_interface pointer:
[fw/openocd]
/
src
/
openocd.c
diff --git
a/src/openocd.c
b/src/openocd.c
index 656644649e94f865e46c55a776a7847f06be980b..026a32b3f2f1dc062064297a7753fe0489946bb9 100644
(file)
--- a/
src/openocd.c
+++ b/
src/openocd.c
@@
-79,9
+79,7
@@
static int handle_version_command(struct command_context_s *cmd_ctx, char *cmd,
static void exit_handler(void)
{
- /* close JTAG interface */
- if (jtag && jtag->quit)
- jtag->quit();
+ jtag_interface_quit();
}
static int log_target_callback_event_handler(struct target_s *target, enum target_event event, void *priv)