aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/UC1601s
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/UC1601s')
-rw-r--r--drivers/gdisp/UC1601s/board_UC1601s_template.h2
-rw-r--r--drivers/gdisp/UC1601s/gdisp_lld_UC1601s.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gdisp/UC1601s/board_UC1601s_template.h b/drivers/gdisp/UC1601s/board_UC1601s_template.h
index 9ab8fd30..a7efa52e 100644
--- a/drivers/gdisp/UC1601s/board_UC1601s_template.h
+++ b/drivers/gdisp/UC1601s/board_UC1601s_template.h
@@ -18,7 +18,7 @@ static GFXINLINE void post_init_board(GDisplay *g) {
(void) g;
}
-static GFXINLINE void setpin_reset(GDisplay *g, bool_t state) {
+static GFXINLINE void setpin_reset(GDisplay *g, gBool state) {
(void) g;
(void) state;
}
diff --git a/drivers/gdisp/UC1601s/gdisp_lld_UC1601s.c b/drivers/gdisp/UC1601s/gdisp_lld_UC1601s.c
index a6d15c26..479e49e9 100644
--- a/drivers/gdisp/UC1601s/gdisp_lld_UC1601s.c
+++ b/drivers/gdisp/UC1601s/gdisp_lld_UC1601s.c
@@ -71,7 +71,7 @@
/* Driver exported functions. */
/*===========================================================================*/
-LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
+LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
// The private area is the display surface.
if (!(g->priv = gfxAlloc(GDISP_SCREEN_BYTES)))
@@ -85,9 +85,9 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
init_board(g);
// Hardware reset
- setpin_reset(g, TRUE);
+ setpin_reset(g, gTrue);
gfxSleepMilliseconds(5);
- setpin_reset(g, FALSE);
+ setpin_reset(g, gFalse);
acquire_bus(g);
@@ -111,7 +111,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_FLUSH