Remove unnecessary file from RA8875 driver.

This commit is contained in:
inmarket 2013-10-17 17:38:44 +10:00
parent 8210418402
commit 3cacf9cee2
2 changed files with 1 additions and 22 deletions

View File

@ -21,9 +21,6 @@
/* include the users board interface */
#include "board_ra8875.h"
/* include our hardware definitions */
#include "../drivers/gdisp/RA8875/ra8875.h"
/*===========================================================================*/
/* Driver local definitions. */
/*===========================================================================*/
@ -54,7 +51,7 @@
static inline void set_cursor(GDisplay *g) {
write_reg16(g, 0x46, g->p.x);
write_reg16(g, 0x48, g->p.y);
write_index(g, RA8875_WRITE_MEMORY_START);
write_index(g, 0x02);
}
static inline void set_viewport(GDisplay* g) {

View File

@ -1,18 +0,0 @@
/*
* This file is subject to the terms of the GFX License. If a copy of
* the license was not distributed with this file, you can obtain one at:
*
* http://ugfx.org/license.html
*/
#ifndef RA8875_H
#define RA8875_H
#define mHIGH(x) (x >> 8)
#define mLOW(x) (x & 0xFF)
#define RA8875_WRITE_MEMORY_START 0x0002
#define RA8875_READ_MEMORY_START 0x0002
#endif