aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/ILI9325/board_ILI9325_hy_stm32_100p.h
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/board_ILI9325_hy_stm32_100p.h
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/board_ILI9325_hy_stm32_100p.h')
-rw-r--r--drivers/gdisp/ILI9325/board_ILI9325_hy_stm32_100p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/ILI9325/board_ILI9325_hy_stm32_100p.h b/drivers/gdisp/ILI9325/board_ILI9325_hy_stm32_100p.h
index ae9e96fc..02949605 100644
--- a/drivers/gdisp/ILI9325/board_ILI9325_hy_stm32_100p.h
+++ b/drivers/gdisp/ILI9325/board_ILI9325_hy_stm32_100p.h
@@ -33,8 +33,8 @@
static inline void init_board(GDisplay *g) {
- // As we are not using multiple displays we set g->priv to NULL as we don't use it.
- g->priv = 0;
+ // As we are not using multiple displays we set g->board to NULL as we don't use it.
+ g->board = 0;
switch(g->controllerdisplay) {
case 0: // Set up for Display 0