diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-06-23 13:02:07 +1000 |
commit | 41271d632b74f5cf47c30d3b699eb6b2786f2136 (patch) | |
tree | 78bcb729c6d6177ca598f28908fefd186c50e9b6 /drivers/gdisp/STM32LTDC | |
parent | 3b97fb798e96514057bcf17263c1e5dbdcd7da26 (diff) | |
download | uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.gz uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.tar.bz2 uGFX-41271d632b74f5cf47c30d3b699eb6b2786f2136.zip |
Added new type definitions - moving towards V3.0
Diffstat (limited to 'drivers/gdisp/STM32LTDC')
-rw-r--r-- | drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c b/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c index 4bc231d9..57253b0d 100644 --- a/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c +++ b/drivers/gdisp/STM32LTDC/gdisp_lld_STM32LTDC.c @@ -233,7 +233,7 @@ static void _ltdc_init(void) { _ltdc_reload();
}
-LLDSPEC bool_t gdisp_lld_init(GDisplay* g) {
+LLDSPEC gBool gdisp_lld_init(GDisplay* g) {
// Initialize the private structure
g->priv = 0;
g->board = 0;
@@ -252,7 +252,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay* g) { #endif
if (!(driverCfg.bglayer.layerflags & LTDC_LEF_ENABLE))
- return FALSE;
+ return gFalse;
g->priv = (void *)&driverCfg.bglayer;
@@ -267,7 +267,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay* g) { case 1: // Display 1 is the foreground layer
if (!(driverCfg.fglayer.layerflags & LTDC_LEF_ENABLE))
- return FALSE;
+ return gFalse;
// Load the foreground layer
_ltdc_layer_init(LTDC_Layer2, &driverCfg.fglayer);
@@ -281,7 +281,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay* g) { break;
default: // There is only 1 LTDC in the CPU and only the 2 layers in the LTDC.
- return FALSE;
+ return gFalse;
}
// Initialise the GDISP structure
@@ -292,7 +292,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay* g) { g->g.Backlight = GDISP_INITIAL_BACKLIGHT;
g->g.Contrast = GDISP_INITIAL_CONTRAST;
- return TRUE;
+ return gTrue;
}
LLDSPEC void gdisp_lld_draw_pixel(GDisplay* g) {
|