Expose tap_state_by_name TAP helper available in public API.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 3 Jun 2009 01:23:48 +0000 (01:23 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 3 Jun 2009 01:23:48 +0000 (01:23 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2015 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/jtag/interface.h
src/jtag/jtag.h

index 1435fe8c87609d3e7fbbdc803dbce1de925e7e00..79e3a3e9fb4d3b81b90a3b4a45b2f063074e2e8e 100644 (file)
@@ -160,12 +160,6 @@ bool tap_is_state_stable(tap_state_t astate);
  */
 tap_state_t tap_state_transition(tap_state_t current_state, bool tms);
 
-/**
- * Function tap_state_name
- * Returns a string suitable for display representing the JTAG tap_state
- */
-const char* tap_state_name(tap_state_t state);
-
 /// Provides user-friendly name lookup of TAP states.
 tap_state_t tap_state_by_name(const char *name);
 
index a2755022c634675283ce2f27bf17fa619c644b88..d4b9cb718442b6932e820fb7e7ff5b297b2c128f 100644 (file)
@@ -96,6 +96,12 @@ typedef enum tap_state
 #endif
 } tap_state_t;
 
+/**
+ * Function tap_state_name
+ * Returns a string suitable for display representing the JTAG tap_state
+ */
+const char* tap_state_name(tap_state_t state);
+
 typedef struct tap_transition_s
 {
        tap_state_t high;