From 4c31d5d17962a330f489e6698ca1f53648b37f44 Mon Sep 17 00:00:00 2001 From: zwelch Date: Thu, 11 Jun 2009 07:08:45 +0000 Subject: [PATCH] Move jtag_get_flush_queue_count near jtag_execute_queue (fix its docs). git-svn-id: svn://svn.berlios.de/openocd/trunk@2189 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jtag.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index 01396a8c..c2524331 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -621,9 +621,13 @@ void jtag_add_clocks(int num_cycles); */ extern int jtag_execute_queue(void); -/* same as jtag_execute_queue() but does not clear the error flag */ +/// same as jtag_execute_queue() but does not clear the error flag extern void jtag_execute_queue_noclear(void); +/// @returns the number of times the scan queue has been flushed +int jtag_get_flush_queue_count(void); + + /* can be implemented by hw+sw */ extern int jtag_power_dropout(int* dropout); extern int jtag_srst_asserted(int* srst_asserted); @@ -686,9 +690,6 @@ extern void jtag_add_dr_out(jtag_tap_t* tap, tap_state_t end_state); -/// @returns the number of times the scan queue has been flushed -int jtag_get_flush_queue_count(void); - /** * Set the current JTAG core execution error, unless one was set * by a previous call previously. Driver or application code must -- 2.39.5