diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 00:43:32 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-05 00:43:32 +0000 |
commit | 0d39db11099f55261aab0a929511a65ded71b191 (patch) | |
tree | b642b699a304925ccb400aa567cee1265a812575 /src/jtag/jtag.c | |
parent | 92cf94295e7e2508e3edc335d91551e5f327234b (diff) |
Eliminate MixedCaps symbol from public JTAG TAP API:
- Purely mechanical transformations to the source files.
- Rename 'jtag_NumEnabledTaps' as 'jtag_tap_count_enabled.'
git-svn-id: svn://svn.berlios.de/openocd/trunk@2068 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.c')
-rw-r--r-- | src/jtag/jtag.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index d10f627f..e9d21d45 100644 --- a/src/jtag/jtag.c +++ b/src/jtag/jtag.c @@ -246,7 +246,7 @@ int jtag_tap_count(void) return jtag_num_taps; } -int jtag_NumEnabledTaps(void) +int jtag_tap_count_enabled(void) { jtag_tap_t *t; int n; @@ -1100,10 +1100,10 @@ static int jtag_examine_chain(void) } /* see if number of discovered devices matches configuration */ - if (device_count != jtag_NumEnabledTaps()) + if (device_count != jtag_tap_count_enabled()) { LOG_ERROR("number of discovered devices in JTAG chain (%i) doesn't match (enabled) configuration (%i), total taps: %d", - device_count, jtag_NumEnabledTaps(), jtag_tap_count()); + device_count, jtag_tap_count_enabled(), jtag_tap_count()); LOG_ERROR("check the config file and ensure proper JTAG communication (connections, speed, ...)"); return ERROR_JTAG_INIT_FAILED; } |