aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ILI9320/gdisp_lld_board_example.h
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-11-13 23:59:45 +0100
committerJoel Bodenmann <joel@unormal.org>2012-11-13 23:59:45 +0100
commit903adb1c24c69dfeceeaa6470d580364211f7be0 (patch)
tree4a293260519f52c3a8f32adb1eb546f452bbb901 /drivers/gdisp/ILI9320/gdisp_lld_board_example.h
parenta95c4933c4ef7631c077fc040076e71c8d46209a (diff)
downloaduGFX-903adb1c24c69dfeceeaa6470d580364211f7be0.tar.gz
uGFX-903adb1c24c69dfeceeaa6470d580364211f7be0.tar.bz2
uGFX-903adb1c24c69dfeceeaa6470d580364211f7be0.zip
ILI9320 update
Diffstat (limited to 'drivers/gdisp/ILI9320/gdisp_lld_board_example.h')
-rw-r--r--drivers/gdisp/ILI9320/gdisp_lld_board_example.h5
1 files changed, 5 insertions, 0 deletions
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 */
/** @} */