diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 15:48:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-11-26 15:48:48 +0000 |
commit | 6cb770cd9199cd3a16a432571e1dcd06fcc51c22 (patch) | |
tree | 823701aee66d086d9579b0b9992195077e700690 /nuttx/arch/arm | |
parent | ee438548a33bafc438ec1d1904b6a24b3da20fcf (diff) | |
download | px4-nuttx-6cb770cd9199cd3a16a432571e1dcd06fcc51c22.tar.gz px4-nuttx-6cb770cd9199cd3a16a432571e1dcd06fcc51c22.tar.bz2 px4-nuttx-6cb770cd9199cd3a16a432571e1dcd06fcc51c22.zip |
Added nxglib.h
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1309 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm')
-rw-r--r-- | nuttx/arch/arm/src/dm320/dm320_framebuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/dm320/dm320_framebuffer.c b/nuttx/arch/arm/src/dm320/dm320_framebuffer.c index 02f73061d..3535dfe1e 100644 --- a/nuttx/arch/arm/src/dm320/dm320_framebuffer.c +++ b/nuttx/arch/arm/src/dm320/dm320_framebuffer.c @@ -46,6 +46,7 @@ #include <debug.h> #include <nuttx/fb.h> +#include <nuttx/nxglib.h> #include "up_arch.h" #include "dm320_memorymap.h" @@ -1201,7 +1202,7 @@ static int dm320_putcmap(FAR struct fb_vtable_s *vtable, FAR struct fb_cmap_s *c { /* Convert the RGB to YUV */ - rgb2yuv(cmap->red[i], cmap->green[i], cmap->blue[i], &y, &u, &v); + nxgl_rgb2yuv(cmap->red[i], cmap->green[i], cmap->blue[i], &y, &u, &v); /* Program the CLUT */ |