Remove unnecessary file from RA8875 driver.
This commit is contained in:
parent
8210418402
commit
3cacf9cee2
@ -21,9 +21,6 @@
|
|||||||
/* include the users board interface */
|
/* include the users board interface */
|
||||||
#include "board_ra8875.h"
|
#include "board_ra8875.h"
|
||||||
|
|
||||||
/* include our hardware definitions */
|
|
||||||
#include "../drivers/gdisp/RA8875/ra8875.h"
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver local definitions. */
|
/* Driver local definitions. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
@ -54,7 +51,7 @@
|
|||||||
static inline void set_cursor(GDisplay *g) {
|
static inline void set_cursor(GDisplay *g) {
|
||||||
write_reg16(g, 0x46, g->p.x);
|
write_reg16(g, 0x46, g->p.x);
|
||||||
write_reg16(g, 0x48, g->p.y);
|
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) {
|
static inline void set_viewport(GDisplay* g) {
|
||||||
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user