aboutsummaryrefslogtreecommitdiffstats
path: root/wirish
diff options
context:
space:
mode:
authorPerry Hung <iperry@gmail.com>2011-02-27 06:38:53 -0500
committerPerry Hung <iperry@gmail.com>2011-02-27 06:38:53 -0500
commitc54f98951ea2827598babd4602e0f808b3ee311c (patch)
tree0f5fdda925717330134dd1859e392a2dc0303957 /wirish
parent9136ea9015c68fba7302dbe33a759aea43860b2f (diff)
downloadlibrambutan-c54f98951ea2827598babd4602e0f808b3ee311c.tar.gz
librambutan-c54f98951ea2827598babd4602e0f808b3ee311c.zip
Refactor DAC
DAC header and source slightly cleaned up. Test on Maple Native prototype. Add flags parameter to allow selective enabling of channels.
Diffstat (limited to 'wirish')
-rw-r--r--wirish/wirish.c4
1 files changed, 0 insertions, 4 deletions
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);