diff options
Diffstat (limited to 'drivers/gdisp/HX8347D/board_HX8347D_stm32f4discovery.h')
-rw-r--r-- | drivers/gdisp/HX8347D/board_HX8347D_stm32f4discovery.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/HX8347D/board_HX8347D_stm32f4discovery.h b/drivers/gdisp/HX8347D/board_HX8347D_stm32f4discovery.h index daabe75d..708e1a06 100644 --- a/drivers/gdisp/HX8347D/board_HX8347D_stm32f4discovery.h +++ b/drivers/gdisp/HX8347D/board_HX8347D_stm32f4discovery.h @@ -66,8 +66,8 @@ static const SPIConfig spi1cfg_16bit = { 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 |