From a95c4933c4ef7631c077fc040076e71c8d46209a Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 13 Nov 2012 23:54:50 +0100 Subject: Backlight fix --- src/gdisp.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/gdisp.c') diff --git a/src/gdisp.c b/src/gdisp.c index ddcf8546..81c06599 100644 --- a/src/gdisp.c +++ b/src/gdisp.c @@ -1267,24 +1267,6 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color) { } #endif -/** - * @brief Control backlight brightness - * - * @param[in] percentage The percentage of the brightness (0 to 100) - */ -void gdispSetBacklight(uint8_t percentage) { - gdispControl(GDISP_CONTROL_BACKLIGHT, (void*)&percentage); -} - -/** - * @brief Control display contrast - * - * @param[in] percentage The percentage of the contrast - */ -void gdispSetPercentage(uint8_t percentage){ - gdispControl(GDISP_CONTROL_CONTRAST, (void*)&percentage); -} - #endif /* GFX_USE_GDISP */ #endif /* _GDISP_C */ -- cgit v1.2.3