Remove whitespace that occurs before ')'.
- Replace '[ \t]*[)]' with ')'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2377 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -85,22 +85,22 @@ static int dummy_read(void)
|
||||
static void dummy_write(int tck, int tms, int tdi)
|
||||
{
|
||||
/* TAP standard: "state transitions occur on rising edge of clock" */
|
||||
if (tck != dummy_clock )
|
||||
if (tck != dummy_clock)
|
||||
{
|
||||
if (tck )
|
||||
if (tck)
|
||||
{
|
||||
tap_state_t old_state = dummy_state;
|
||||
dummy_state = tap_state_transition(old_state, tms );
|
||||
dummy_state = tap_state_transition(old_state, tms);
|
||||
|
||||
if (old_state != dummy_state )
|
||||
if (old_state != dummy_state)
|
||||
{
|
||||
if (clock_count )
|
||||
if (clock_count)
|
||||
{
|
||||
LOG_DEBUG("dummy_tap: %d stable clocks", clock_count);
|
||||
clock_count = 0;
|
||||
}
|
||||
|
||||
LOG_DEBUG("dummy_tap: %s", tap_state_name(dummy_state) );
|
||||
LOG_DEBUG("dummy_tap: %s", tap_state_name(dummy_state));
|
||||
|
||||
#if defined(DEBUG)
|
||||
if (dummy_state == TAP_DRCAPTURE)
|
||||
@@ -126,7 +126,7 @@ static void dummy_reset(int trst, int srst)
|
||||
if (trst || (srst && (jtag_get_reset_config() & RESET_SRST_PULLS_TRST)))
|
||||
dummy_state = TAP_RESET;
|
||||
|
||||
LOG_DEBUG("reset to: %s", tap_state_name(dummy_state) );
|
||||
LOG_DEBUG("reset to: %s", tap_state_name(dummy_state));
|
||||
}
|
||||
|
||||
static int dummy_khz(int khz, int *jtag_speed)
|
||||
|
||||
Reference in New Issue
Block a user