aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
committerinmarket <andrewh@inmarket.com.au>2018-06-23 13:02:07 +1000
commit41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch)
tree78bcb729c6d6177ca598f28908fefd186c50e9b6 /drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c
parent3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff)
downloaduGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2
uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip
Added new type definitions - moving towards V3.0
Diffstat (limited to 'drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c')
-rw-r--r--drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c b/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c
index 0d9a0d7c..526426b2 100644
--- a/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c
+++ b/drivers/gdisp/S6D1121/gdisp_lld_S6D1121.c
@@ -111,7 +111,7 @@ static GFXINLINE void set_viewport(GDisplay *g) {
}
}
-LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
+LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
// No private area for this controller
g->priv = 0;
@@ -119,9 +119,9 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
init_board(g);
/* Hardware reset */
- setpin_reset(g, TRUE);
+ setpin_reset(g, gTrue);
delayms(20);
- setpin_reset(g, TRUE);
+ setpin_reset(g, gFalse);
delayms(20);
/* Get the bus for the following initialisation commands */
@@ -207,7 +207,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
g->g.Powermode = powerOn;
g->g.Backlight = GDISP_INITIAL_BACKLIGHT;
g->g.Contrast = GDISP_INITIAL_CONTRAST;
- return TRUE;
+ return gTrue;
}
#if GDISP_HARDWARE_STREAM_WRITE