aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c')
-rw-r--r--drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c b/drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c
index ebb3e29f..871aa218 100644
--- a/drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c
+++ b/drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c
@@ -56,7 +56,7 @@
/* Driver exported functions. */
/*===========================================================================*/
-LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
+LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
// No private area for this controller
g->priv = 0;
@@ -64,9 +64,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
@@ -135,7 +135,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