From d040adeef9df4cda31dce603db81dc7ce19ec0d1 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 16 Jun 2013 22:31:31 -0700 Subject: [PATCH 1/1] altos/lpc: Don't disable all of the clocks just yet, USB doesn't work Signed-off-by: Keith Packard --- src/lpc/ao_timer_lpc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lpc/ao_timer_lpc.c b/src/lpc/ao_timer_lpc.c index 73a0e258..62235d1e 100644 --- a/src/lpc/ao_timer_lpc.c +++ b/src/lpc/ao_timer_lpc.c @@ -178,6 +178,7 @@ ao_clock_init(void) lpc_scb.usbclkdiv = 0; lpc_scb.clkoutdiv = 0; +#if 0 /* Power down everything we don't need */ lpc_scb.pdruncfg = ((1 << LPC_SCB_PDRUNCFG_IRCOUT_PD) | (1 << LPC_SCB_PDRUNCFG_IRC_PD) | @@ -188,4 +189,5 @@ ao_clock_init(void) (1 << LPC_SCB_PDRUNCFG_USBPAD_PD) | (1 << 11) | (7 << 13)); +#endif } -- 2.30.2