aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ILI9325/gdisp_lld.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-10-21 15:13:10 +1000
committerinmarket <andrewh@inmarket.com.au>2013-10-21 15:13:10 +1000
commit0535c67eab412e72223bc06a528c5bf7cd4aeb22 (patch)
tree1349ae0420683f03ed09ca6d8aca52acbc7af9b5 /drivers/gdisp/ILI9325/gdisp_lld.c
parent0b9db701a1d52c8a6d63ca692619b0dde47805d1 (diff)
downloaduGFX-0535c67eab412e72223bc06a528c5bf7cd4aeb22.tar.gz
uGFX-0535c67eab412e72223bc06a528c5bf7cd4aeb22.tar.bz2
uGFX-0535c67eab412e72223bc06a528c5bf7cd4aeb22.zip
Add support for a driver private area (as well as a board private area)
Diffstat (limited to 'drivers/gdisp/ILI9325/gdisp_lld.c')
-rw-r--r--drivers/gdisp/ILI9325/gdisp_lld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gdisp/ILI9325/gdisp_lld.c b/drivers/gdisp/ILI9325/gdisp_lld.c
index 8a4b8603..6bb649b1 100644
--- a/drivers/gdisp/ILI9325/gdisp_lld.c
+++ b/drivers/gdisp/ILI9325/gdisp_lld.c
@@ -99,7 +99,10 @@ static void set_viewport(GDisplay* g) {
LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
uint16_t cver;
- /* Initialise your display */
+ // No private area for this controller
+ g->priv = 0;
+
+ // Initialise the board interface
init_board(g);
/* Hardware reset */