aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c')
-rw-r--r--drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c b/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
index 1eea9e58..86f4a94f 100644
--- a/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
+++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld_Nokia6610GE8.c
@@ -190,7 +190,7 @@ static GFXINLINE void set_viewport(GDisplay* g) {
/* Driver exported functions. */
/*===========================================================================*/
-LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
+LLDSPEC gBool gdisp_lld_init(GDisplay *g) {
#if GDISP_HARDWARE_STREAM_WRITE
g->priv = gfxAlloc(sizeof(dvrPriv));
#else
@@ -201,9 +201,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, FALSE);
+ setpin_reset(g, gFalse);
delayms(20);
// Get the bus for the following initialisation commands
@@ -245,7 +245,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
g->g.Contrast = GDISP_INITIAL_CONTRAST;
g->g.Width = GDISP_SCREEN_WIDTH;
g->g.Height = GDISP_SCREEN_HEIGHT;
- return TRUE;
+ return gTrue;
}
#if GDISP_HARDWARE_STREAM_WRITE