From: aleph Date: Wed, 2 Mar 2011 15:49:21 +0000 (+0000) Subject: hx8347 lcd driver: missing BV() in PMC enable setting (ouch!) X-Git-Tag: 2.7.0~229 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=fec2a6b63d7ef202f921169a540556e794df1a3f;p=bertos.git hx8347 lcd driver: missing BV() in PMC enable setting (ouch!) git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4737 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/boards/sam3x-ek/hw/hw_hx8347.h b/boards/sam3x-ek/hw/hw_hx8347.h index 541f2849..72ff0154 100644 --- a/boards/sam3x-ek/hw/hw_hx8347.h +++ b/boards/sam3x-ek/hw/hw_hx8347.h @@ -46,6 +46,7 @@ #include "cfg/macros.h" #include +#include /* @@ -137,7 +138,7 @@ INLINE void hx8347_busInit(void) PIO_PERIPH_SEL(LCD_RS_PORT, LCD_RS_PIN, LCD_RS_PERIPH); // Enable peripheral clock - PMC_PCER = SMC_SDRAMC_ID; + PMC_PCER = BV(SMC_SDRAMC_ID); // Static memory controller configuration SMC_SETUP2 =