diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-11 10:20:55 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-11 13:50:28 -0800 |
commit | 158698e3331b446243b863ab8b58ebee2c56f0cc (patch) | |
tree | 931dcd4581066c473a4de3fb3365b9dab700c05f /tcl/target/at91sam3uXX.cfg | |
parent | 46d9ba4c8b675deb96ac533885500eb62b6c9909 (diff) | |
download | openocd+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 'tcl/target/at91sam3uXX.cfg')
0 files changed, 0 insertions, 0 deletions