From 0535c67eab412e72223bc06a528c5bf7cd4aeb22 Mon Sep 17 00:00:00 2001 From: inmarket Date: Mon, 21 Oct 2013 15:13:10 +1000 Subject: Add support for a driver private area (as well as a board private area) --- drivers/gdisp/ILI9325/gdisp_lld.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/gdisp/ILI9325/gdisp_lld.c') 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 */ -- cgit v1.2.3