diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-11-07 13:06:02 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-11-07 13:06:21 +1000 |
commit | f793194e43b130ae9e5133ac7d03bd819ce77e91 (patch) | |
tree | 3f9bd3c7c13f006331ffe2fa2fa626ce88671345 /drivers/gdisp/STM32F429iDiscovery | |
parent | 523730bd08d6d60533b8e55074f8a302e9f12cf3 (diff) | |
download | uGFX-f793194e43b130ae9e5133ac7d03bd819ce77e91.tar.gz uGFX-f793194e43b130ae9e5133ac7d03bd819ce77e91.tar.bz2 uGFX-f793194e43b130ae9e5133ac7d03bd819ce77e91.zip |
Fix GDISP_NEED_CONTROL for the STM32F429i-Discovery board.
Diffstat (limited to 'drivers/gdisp/STM32F429iDiscovery')
-rw-r--r-- | drivers/gdisp/STM32F429iDiscovery/gdisp_lld_STM32F429iDiscovery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_STM32F429iDiscovery.c b/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_STM32F429iDiscovery.c index 88d50114..65e582b2 100644 --- a/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_STM32F429iDiscovery.c +++ b/drivers/gdisp/STM32F429iDiscovery/gdisp_lld_STM32F429iDiscovery.c @@ -354,7 +354,7 @@ LLDSPEC color_t gdisp_lld_get_pixel_color(GDisplay *g) { return; switch((powermode_t)g->p.ptr) { case powerOff: case powerOn: case powerSleep: case powerDeepSleep: - board_power(g, (powermode_t)g->p.ptr); + // TODO break; default: return; @@ -394,13 +394,13 @@ LLDSPEC color_t gdisp_lld_get_pixel_color(GDisplay *g) { case GDISP_CONTROL_BACKLIGHT: if ((unsigned)g->p.ptr > 100) g->p.ptr = (void *)100; - board_backlight(g, (unsigned)g->p.ptr); + set_backlight(g, (unsigned)g->p.ptr); g->g.Backlight = (unsigned)g->p.ptr; return; case GDISP_CONTROL_CONTRAST: if ((unsigned)g->p.ptr > 100) g->p.ptr = (void *)100; - board_contrast(g, (unsigned)g->p.ptr); + // TODO g->g.Contrast = (unsigned)g->p.ptr; return; } |