Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed status output (print_pins) to show ntrst first. easier to see…

… progression of scans.
  • Loading branch information...
commit 513e680713ded0d0c732a1ea809590f718645b63 1 parent 0e414b1
@cyphunk authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 JTAGenum.pde
View
8 JTAGenum.pde 100755 → 100644
@@ -274,6 +274,10 @@ static int check_data(char pattern[], int iterations, int tck, int tdi, int tdo,
static void print_pins(int tck, int tms, int tdo, int tdi, int ntrst)
{
+ if (ntrst != IGNOREPIN) {
+ Serial.print(" ntrst:");
+ Serial.print(pinnames[ntrst]);
+ }
Serial.print(" tck:");
Serial.print(pinnames[tck]);
Serial.print(" tms:");
@@ -284,10 +288,6 @@ static void print_pins(int tck, int tms, int tdo, int tdi, int ntrst)
Serial.print(" tdi:");
Serial.print(pinnames[tdi]);
}
- if (ntrst != IGNOREPIN) {
- Serial.print(" ntrst:");
- Serial.print(pinnames[ntrst]);
- }
}
/*
Please sign in to comment.
Something went wrong with that request. Please try again.