From 903adb1c24c69dfeceeaa6470d580364211f7be0 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Tue, 13 Nov 2012 23:59:45 +0100 Subject: [PATCH] ILI9320 update --- drivers/gdisp/ILI9320/gdisp_lld_board_example.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/gdisp/ILI9320/gdisp_lld_board_example.h b/drivers/gdisp/ILI9320/gdisp_lld_board_example.h index f4a798dd..b929a3c3 100644 --- a/drivers/gdisp/ILI9320/gdisp_lld_board_example.h +++ b/drivers/gdisp/ILI9320/gdisp_lld_board_example.h @@ -49,6 +49,11 @@ static __inline uint16_t GDISP_LLD(read_data)(void) { #error "ILI9320: You must implement read_data routine for your board" } +/* if not available, just ignore the argument and return */ +static __inline uint16_t GDISP_LLD(set_backlight)(uint8_t percentage) { + #error "ILI9320: You must implement set_backlight routine for your board" +} + #endif /* GDISP_LLD_BOARD_H */ /** @} */