aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/ST7735/gdisp_lld_ST7735.c')
-rw-r--r--drivers/gdisp/ST7735/gdisp_lld_ST7735.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gdisp/ST7735/gdisp_lld_ST7735.c b/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
index db91f82d..983cfa1d 100644
--- a/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
+++ b/drivers/gdisp/ST7735/gdisp_lld_ST7735.c
@@ -233,7 +233,7 @@ static void execute_cmds(GDisplay *g, const uint8_t *addr) {
}
-LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
+LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
// No private area for this controller
g->priv = 0;
@@ -241,9 +241,9 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
init_board(g);
// Hardware reset
- setpin_reset(g, TRUE);
+ setpin_reset(g, gTrue);
gfxSleepMilliseconds(20);
- setpin_reset(g, FALSE);
+ setpin_reset(g, gFalse);
gfxSleepMilliseconds(20);
// Get the bus for the following initialisation commands
@@ -264,7 +264,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;
}
static void set_viewport(GDisplay *g) {