diff options
author | Keith Packard <keithp@keithp.com> | 2013-06-16 22:31:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-06-16 22:31:31 -0700 |
commit | d040adeef9df4cda31dce603db81dc7ce19ec0d1 (patch) | |
tree | e408f3884bb65a6aec3323c04f99b20c5ee787bb | |
parent | 1676c7dbc3dcce2962be9ef9a58d37c7b48e3c0f (diff) |
altos/lpc: Don't disable all of the clocks just yet, USB doesn't work
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/lpc/ao_timer_lpc.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |