aboutsummaryrefslogtreecommitdiffstats
path: root/boards/addons/gdisp/board_SSD1963_fsmc.h
diff options
context:
space:
mode:
Diffstat (limited to 'boards/addons/gdisp/board_SSD1963_fsmc.h')
-rw-r--r--boards/addons/gdisp/board_SSD1963_fsmc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/boards/addons/gdisp/board_SSD1963_fsmc.h b/boards/addons/gdisp/board_SSD1963_fsmc.h
index 06fb2c9a..f8b279de 100644
--- a/boards/addons/gdisp/board_SSD1963_fsmc.h
+++ b/boards/addons/gdisp/board_SSD1963_fsmc.h
@@ -32,8 +32,8 @@ static const LCD_Parameters DisplayTimings[] = {
// set g->board to that structure.
/* Using FSMC A16 as RS */
-#define GDISP_REG (*((volatile uint16_t *) 0x60000000)) /* RS = 0 */
-#define GDISP_RAM (*((volatile uint16_t *) 0x60020000)) /* RS = 1 */
+#define GDISP_REG (*((volatile gU16 *) 0x60000000)) /* RS = 0 */
+#define GDISP_RAM (*((volatile gU16 *) 0x60020000)) /* RS = 1 */
static GFXINLINE void init_board(GDisplay *g) {
@@ -94,12 +94,12 @@ static GFXINLINE void release_bus(GDisplay *g) {
(void) g;
}
-static GFXINLINE void write_index(GDisplay *g, uint16_t index) {
+static GFXINLINE void write_index(GDisplay *g, gU16 index) {
(void) g;
GDISP_REG = index;
}
-static GFXINLINE void write_data(GDisplay *g, uint16_t data) {
+static GFXINLINE void write_data(GDisplay *g, gU16 data) {
(void) g;
GDISP_RAM = data;
}