projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TI Launchpad patch from Peter Lorenzen, edited to ease the mergequake.
[goodfet]
/
firmware
/
apps
/
jtag
/
jtag.c
diff --git
a/firmware/apps/jtag/jtag.c
b/firmware/apps/jtag/jtag.c
index
f072c49
..
ccddf2f
100644
(file)
--- a/
firmware/apps/jtag/jtag.c
+++ b/
firmware/apps/jtag/jtag.c
@@
-74,18
+74,18
@@
int in_state(enum eTAPState state)
void jtag_reset_target()
{
SETRST;
void jtag_reset_target()
{
SETRST;
- PLEDOUT^=PLEDPIN;
+ led_toggle();
CLRRST;
CLRRST;
- PLEDOUT^=PLEDPIN;
+ led_toggle();
}
//! Clock the JTAG clock line
void jtag_tcktock()
{
CLRTCK;
}
//! Clock the JTAG clock line
void jtag_tcktock()
{
CLRTCK;
- PLEDOUT^=PLEDPIN;
+ led_toggle();
SETTCK;
SETTCK;
-
PLEDOUT^=PLEDPIN
;
+
led_toggle()
;
}
//! Goes through test-logic-reset and ends in run-test-idle
}
//! Goes through test-logic-reset and ends in run-test-idle