Move jtag_get_flush_queue_count near jtag_execute_queue (fix its docs).
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 07:08:45 +0000 (07:08 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 07:08:45 +0000 (07:08 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2189 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/jtag.h

index 01396a8c24457849661713a1660ffbb093600e39..c252433117718dd76764849452237943fc298584 100644 (file)
@@ -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