diff options
author | Keith Packard <keithp@keithp.com> | 2014-06-05 21:36:16 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-06-05 21:36:16 -0700 |
commit | 102b1977c138b30c2d2592ab310f7be072130a3b (patch) | |
tree | b070d80cb7f187f967a38ea4379f8a837ed24a4e /src/lpc/ao_usb_lpc.c | |
parent | ec3de3ac461f2380d23c5c5d948333a9a210c400 (diff) |
altos/lpc: HAS_USB_CONNECT has been changed to mean a custom pin
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>
Diffstat (limited to 'src/lpc/ao_usb_lpc.c')
-rw-r--r-- | src/lpc/ao_usb_lpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc/ao_usb_lpc.c b/src/lpc/ao_usb_lpc.c index 340413fa..12f5d8e6 100644 --- 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) | |