summaryrefslogtreecommitdiff
path: root/src/jtag/tcl.c
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-11 10:20:55 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-11 13:50:28 -0800
commit158698e3331b446243b863ab8b58ebee2c56f0cc (patch)
tree931dcd4581066c473a4de3fb3365b9dab700c05f /src/jtag/tcl.c
parent46d9ba4c8b675deb96ac533885500eb62b6c9909 (diff)
downloadopenocd+libswd-158698e3331b446243b863ab8b58ebee2c56f0cc.tar.gz
openocd+libswd-158698e3331b446243b863ab8b58ebee2c56f0cc.tar.bz2
openocd+libswd-158698e3331b446243b863ab8b58ebee2c56f0cc.tar.xz
openocd+libswd-158698e3331b446243b863ab8b58ebee2c56f0cc.zip
improve command registration
Eliminate duplicate code for linking commands into a list. Adds a check to ensure the command does not already exist; if it does, return that one instead of creating a duplicate.
Diffstat (limited to 'src/jtag/tcl.c')
0 files changed, 0 insertions, 0 deletions