diff options
author | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-18 17:29:59 +0000 |
---|---|---|
committer | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-18 17:29:59 +0000 |
commit | 15f2c372077b2535c98ba5a5387d98af93bb2bca (patch) | |
tree | b97dfcfb945b8295fc45fd2b243a28181dde349c /src | |
parent | 204a360602b175e320be26a914209b13e0e53b60 (diff) | |
download | openocd_libswd-15f2c372077b2535c98ba5a5387d98af93bb2bca.tar.gz openocd_libswd-15f2c372077b2535c98ba5a5387d98af93bb2bca.tar.bz2 openocd_libswd-15f2c372077b2535c98ba5a5387d98af93bb2bca.tar.xz openocd_libswd-15f2c372077b2535c98ba5a5387d98af93bb2bca.zip |
Change last_comand_pointer to last_command_pointer by Michael Bruck <mbruck@digenius.de>
git-svn-id: svn://svn.berlios.de/openocd/trunk@1823 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/jtag.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index 54735b89..8c0d5743 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -89,7 +89,7 @@ static struct jtag_callback_entry *jtag_callback_queue_tail = NULL; jtag_command_t *jtag_command_queue = NULL; -jtag_command_t **last_comand_pointer = &jtag_command_queue; +jtag_command_t **last_command_pointer = &jtag_command_queue; static jtag_tap_t *jtag_all_taps = NULL; enum reset_types jtag_reset_config = RESET_NONE; @@ -436,7 +436,7 @@ jtag_command_t** jtag_get_last_command_p(void) return &cmd->next;*/ - return last_comand_pointer; + return last_command_pointer; } @@ -450,7 +450,7 @@ void jtag_queue_command(jtag_command_t * cmd) (*last_cmd)->next = NULL; - last_comand_pointer = &((*last_cmd)->next); + last_command_pointer = &((*last_cmd)->next); } @@ -1557,7 +1557,7 @@ int interface_jtag_execute_queue(void) jtag_callback_queue_tail = NULL; jtag_command_queue = NULL; - last_comand_pointer = &jtag_command_queue; + last_command_pointer = &jtag_command_queue; return retval; } |