diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-10 16:16:33 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-10 16:16:33 -0600 |
commit | 1afa1190c806da92baf523fd26ca5b156201a196 (patch) | |
tree | 894318f7fa2d4228e0c2bf82125da75b3f6045a0 | |
parent | ef5c4f674c80defe9e203e8fda7375472fabb79a (diff) | |
download | nuttx-1afa1190c806da92baf523fd26ca5b156201a196.tar.gz nuttx-1afa1190c806da92baf523fd26ca5b156201a196.tar.bz2 nuttx-1afa1190c806da92baf523fd26ca5b156201a196.zip |
SAMA5 LCD: Fix some bad color format definitions
-rw-r--r-- | nuttx/arch/arm/src/sama5/sam_lcd.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/nuttx/arch/arm/src/sama5/sam_lcd.c b/nuttx/arch/arm/src/sama5/sam_lcd.c index f7e0cac72..70556820d 100644 --- a/nuttx/arch/arm/src/sama5/sam_lcd.c +++ b/nuttx/arch/arm/src/sama5/sam_lcd.c @@ -116,10 +116,10 @@ # define SAMA5_LCDC_BASE_COLOR_FMT FB_FMT_RGB12_444 #elif defined(CONFIG_SAMA5_LCDC_BASE_RGB888P) # define SAMA5_LCDC_BASE_BPP 24 -# define SAMA5_LCDC_BASE_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_BASE_COLOR_FMT FB_FMT_RGB24 #elif defined(CONFIG_SAMA5_LCDC_BASE_TRGB1888) # define SAMA5_LCDC_BASE_BPP 32 /* 25BPP but must be byte aligned */ -# define SAMA5_LCDC_BASE_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_BASE_COLOR_FMT ??? #elif defined(CONFIG_SAMA5_LCDC_BASE_ARGB8888) # define SAMA5_LCDC_BASE_BPP 32 # define SAMA5_LCDC_BASE_COLOR_FMT ??? @@ -162,10 +162,10 @@ # define SAMA5_LCDC_OVR1_COLOR_FMT FB_FMT_RGB12_444 #elif defined(CONFIG_SAMA5_LCDC_OVR1_RGB888P) # define SAMA5_LCDC_OVR1_BPP 24 -# define SAMA5_LCDC_OVR1_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_OVR1_COLOR_FMT FB_FMT_RGB24 #elif defined(CONFIG_SAMA5_LCDC_OVR1_TRGB1888) # define SAMA5_LCDC_OVR1_BPP 32 /* 25BPP but must be byte aligned */ -# define SAMA5_LCDC_OVR1_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_OVR1_COLOR_FMT ??? #elif defined(CONFIG_SAMA5_LCDC_OVR1_ARGB8888) # define SAMA5_LCDC_OVR1_BPP 32 # define SAMA5_LCDC_OVR1_COLOR_FMT ??? @@ -208,10 +208,10 @@ # define SAMA5_LCDC_OVR2_COLOR_FMT FB_FMT_RGB12_444 #elif defined(CONFIG_SAMA5_LCDC_OVR2_RGB888P) # define SAMA5_LCDC_OVR2_BPP 24 -# define SAMA5_LCDC_OVR2_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_OVR2_COLOR_FMT FB_FMT_RGB24 #elif defined(CONFIG_SAMA5_LCDC_OVR2_TRGB1888) # define SAMA5_LCDC_OVR2_BPP 32 /* 25BPP but must be byte aligned */ -# define SAMA5_LCDC_OVR2_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_OVR2_COLOR_FMT ??? #elif defined(CONFIG_SAMA5_LCDC_OVR2_ARGB8888) # define SAMA5_LCDC_OVR2_BPP 32 # define SAMA5_LCDC_OVR2_COLOR_FMT ??? @@ -254,10 +254,10 @@ # define SAMA5_LCDC_HEO_COLOR_FMT FB_FMT_RGB12_444 #elif defined(CONFIG_SAMA5_LCDC_HEO_RGB888P) # define SAMA5_LCDC_HEO_BPP 24 -# define SAMA5_LCDC_HEO_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_HEO_COLOR_FMT FB_FMT_RGB24 #elif defined(CONFIG_SAMA5_LCDC_HEO_TRGB1888) # define SAMA5_LCDC_HEO_BPP 32 /* 25BPP but must be byte aligned */ -# define SAMA5_LCDC_HEO_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_HEO_COLOR_FMT ??? #elif defined(CONFIG_SAMA5_LCDC_HEO_ARGB8888) # define SAMA5_LCDC_HEO_BPP 32 # define SAMA5_LCDC_HEO_COLOR_FMT ??? @@ -300,10 +300,10 @@ # define SAMA5_LCDC_HCR_COLOR_FMT FB_FMT_RGB12_444 #elif defined(CONFIG_SAMA5_LCDC_HCR_RGB888P) # define SAMA5_LCDC_HCR_BPP 24 -# define SAMA5_LCDC_HCR_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_HCR_COLOR_FMT FB_FMT_RGB24 #elif defined(CONFIG_SAMA5_LCDC_HCR_TRGB1888) # define SAMA5_LCDC_HCR_BPP 32 /* 25BPP but must be byte aligned */ -# define SAMA5_LCDC_HCR_COLOR_FMT FB_FMT_RGB12_444 +# define SAMA5_LCDC_HCR_COLOR_FMT ??? #elif defined(CONFIG_SAMA5_LCDC_HCR_ARGB8888) # define SAMA5_LCDC_HCR_BPP 32 # define SAMA5_LCDC_HCR_COLOR_FMT ??? |