projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec3de3a
)
altos/lpc: HAS_USB_CONNECT has been changed to mean a custom pin
author
Keith Packard
<keithp@keithp.com>
Fri, 6 Jun 2014 04:36:16 +0000
(21:36 -0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 6 Jun 2014 04:36:16 +0000
(21:36 -0700)
The LPC stuff isn't actually very useful and TeleGPS uses a custom pin
instead, and was using HAS_USB_CONNECT to mean the same thing. That
wasn't good.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/lpc/ao_usb_lpc.c
patch
|
blob
|
history
diff --git
a/src/lpc/ao_usb_lpc.c
b/src/lpc/ao_usb_lpc.c
index 340413fa4f7309f3b1b987238f6b0da2c9f59e17..12f5d8e6973013c5c5113bbe9d50a97d509d9fd3 100644
(file)
--- a/
src/lpc/ao_usb_lpc.c
+++ b/
src/lpc/ao_usb_lpc.c
@@
-875,7
+875,7
@@
ao_usb_enable(void)
int t;
/* Enable USB pins */
-#if HAS_USB_CONNECT
+#if HAS_
LPC_
USB_CONNECT
lpc_ioconf.pio0_6 = ((LPC_IOCONF_FUNC_USB_CONNECT << LPC_IOCONF_FUNC) |
(LPC_IOCONF_MODE_INACTIVE << LPC_IOCONF_MODE) |
(0 << LPC_IOCONF_HYS) |