Add UG-2864AMBAG01 initialization for use on STM32F4Discovery

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5321 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-11-08 01:28:32 +00:00
parent 0bb1b8c74c
commit c9750ef39f
6 changed files with 228 additions and 20 deletions
-13
View File
@@ -324,18 +324,6 @@ static void ug2864ambag01_lock(FAR struct spi_dev_s *spi);
static void ug2864ambag01_unlock(FAR struct spi_dev_s *spi);
#endif
/* Buffer Management */
static int ug2864ambag01_readdisplay(FAR struct ug2864ambag01_dev_s *priv,
fb_coord_t row, fb_coord_t col, FAR uint8_t *buffer,
size_t npixels);
static int ug2864ambag01_putbuffer(FAR struct ug2864ambag01_dev_s *priv,
fb_coord_t row, fb_coord_t col,
FAR const uint8_t *buffer, size_t npixels);
static int ug2864ambag01_getbuffer(FAR struct ug2864ambag01_dev_s *priv,
fb_coord_t row, fb_coord_t col, FAR uint8_t *buffer,
size_t npixels);
/* LCD Data Transfer Methods */
static int ug2864ambag01_putrun(fb_coord_t row, fb_coord_t col,
@@ -1115,7 +1103,6 @@ void ug2864ambag01_fill(FAR struct lcd_dev_s *dev, uint8_t color)
{
FAR struct ug2864ambag01_dev_s *priv = &g_oleddev;
unsigned int page;
unsigned int col;
/* Make an 8-bit version of the selected color */