diff options
author | Perry Hung <iperry@gmail.com> | 2011-02-18 05:22:39 -0500 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2011-02-26 22:30:22 -0500 |
commit | f4cdcfa51096f73a49642c400681d91847137dfb (patch) | |
tree | b49bcffdd58fc4dbedceafe55c92045e4b3e145c /wirish | |
parent | b505ab981859761a9eae9e820c5a06e2210c5dfc (diff) | |
download | librambutan-f4cdcfa51096f73a49642c400681d91847137dfb.tar.gz librambutan-f4cdcfa51096f73a49642c400681d91847137dfb.zip |
checkpoint
Diffstat (limited to 'wirish')
-rw-r--r-- | wirish/wirish.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/wirish/wirish.c b/wirish/wirish.c index aaae9d4..622cdfd 100644 --- a/wirish/wirish.c +++ b/wirish/wirish.c @@ -64,18 +64,19 @@ void init(void) { nvic_init(); systick_init(SYSTICK_RELOAD_VAL); gpio_init(); + /* Initialize the ADC for slow conversions, to allow for high impedance inputs. */ adc_init(ADC_SMPR_55_5); - timer_init(TIMER1, 1); - timer_init(TIMER2, 1); - timer_init(TIMER3, 1); - timer_init(TIMER4, 1); -#if NR_TIMERS >= 8 - timer_init(TIMER5, 1); - timer_init(TIMER8, 1); -#endif - setupUSB(); +// timer_init(TIMER1, 1); +// timer_init(TIMER2, 1); +// timer_init(TIMER3, 1); +// timer_init(TIMER4, 1); +//#if NR_TIMERS >= 8 +// timer_init(TIMER5, 1); +// timer_init(TIMER8, 1); +//#endif +// setupUSB(); /* include the board-specific init macro */ BOARD_INIT; |