USB0 and USB1 LEDs are only on Jellybean and Jawbreaker.

This commit is contained in:
Jared Boone
2014-06-15 12:35:59 -07:00
parent 54ef8c19cf
commit 16709505fc
2 changed files with 4 additions and 0 deletions

View File

@ -595,8 +595,10 @@ void pin_setup(void) {
scu_pinmux(SCU_PINMUX_BOOT3, SCU_GPIO_FAST);
/* Configure USB indicators */
#if (defined JELLYBEAN || defined JAWBREAKER)
scu_pinmux(SCU_PINMUX_USB_LED0, SCU_CONF_FUNCTION3);
scu_pinmux(SCU_PINMUX_USB_LED1, SCU_CONF_FUNCTION3);
#endif
/* Configure all GPIO as Input (safe state) */
GPIO0_DIR = 0;

View File

@ -67,8 +67,10 @@ extern "C"
#define SCU_PINMUX_BOOT3 (P2_9) /* GPIO1[10] on P2_9 */
/* USB peripheral */
#if (defined JELLYBEAN || defined JAWBREAKER)
#define SCU_PINMUX_USB_LED0 (P6_8)
#define SCU_PINMUX_USB_LED1 (P6_7)
#endif
/* SSP1 Peripheral PinMux */
#define SCU_SSP1_MISO (P1_3) /* P1_3 */