From c275cfd3dac90bb44ae6be6de5f53c93c645bde9 Mon Sep 17 00:00:00 2001 From: zwelch Date: Wed, 3 Jun 2009 01:23:48 +0000 Subject: Expose tap_state_by_name TAP helper available in public API. git-svn-id: svn://svn.berlios.de/openocd/trunk@2015 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/interface.h | 6 ------ src/jtag/jtag.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/jtag/interface.h b/src/jtag/interface.h index 1435fe8c..79e3a3e9 100644 --- a/src/jtag/interface.h +++ b/src/jtag/interface.h @@ -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); diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index a2755022..d4b9cb71 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -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; -- cgit v1.2.3