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
/
openocd.c
diff --git
a/firmware/apps/jtag/openocd.c
b/firmware/apps/jtag/openocd.c
index
feb8e57
..
6417e54
100644
(file)
--- a/
firmware/apps/jtag/openocd.c
+++ b/
firmware/apps/jtag/openocd.c
@@
-69,10
+69,10
@@
void openocd_led(int led)
{
if (led)
/* turn the LED on */
-
PLEDDIR |= PLEDPIN
;
+
led_on()
;
else
/* turn the LED off */
-
PLEDOUT &= ~PLEDPIN
;
+
led_off()
;
}
//! resets the device/JTAG logic