From c54f98951ea2827598babd4602e0f808b3ee311c Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Sun, 27 Feb 2011 06:38:53 -0500 Subject: Refactor DAC DAC header and source slightly cleaned up. Test on Maple Native prototype. Add flags parameter to allow selective enabling of channels. --- wirish/wirish.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'wirish') diff --git a/wirish/wirish.c b/wirish/wirish.c index 1ea4863..a74e297 100644 --- a/wirish/wirish.c +++ b/wirish/wirish.c @@ -51,10 +51,6 @@ void init(void) { fsmc_native_sram_init(); #endif -#if NR_DAC_PINS > 0 - dac_init(); -#endif - /* initialize clocks */ rcc_clk_init(RCC_CLKSRC_PLL, RCC_PLLSRC_HSE, RCC_PLLMUL_9); rcc_set_prescaler(RCC_PRESCALER_AHB, RCC_AHB_SYSCLK_DIV_1); -- cgit v1.2.3