mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 06:51:36 +08:00
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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user