diff options
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/stm32_ssd1289.c')
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/stm32_ssd1289.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/stm32_ssd1289.c b/nuttx/configs/stm32f4discovery/src/stm32_ssd1289.c index 74c6ee22e..741a5b590 100644 --- a/nuttx/configs/stm32f4discovery/src/stm32_ssd1289.c +++ b/nuttx/configs/stm32f4discovery/src/stm32_ssd1289.c @@ -50,6 +50,7 @@ #include <debug.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include <nuttx/spi/spi.h> #include <nuttx/lcd/lcd.h> #include <nuttx/lcd/ssd1289.h> @@ -339,7 +340,7 @@ void stm32_selectlcd(void) **************************************************************************************/ /************************************************************************************** - * Name: up_lcdinitialize + * Name: board_lcd_initialize * * Description: * Initialize the LCD video hardware. The initial state of the LCD is fully @@ -348,7 +349,7 @@ void stm32_selectlcd(void) * **************************************************************************************/ -int up_lcdinitialize(void) +int board_lcd_initialize(void) { /* Only initialize the driver once */ @@ -390,7 +391,7 @@ int up_lcdinitialize(void) } /************************************************************************************** - * Name: up_lcdgetdev + * Name: board_lcd_getdev * * Description: * Return a a reference to the LCD object for the specified LCD. This allows support @@ -398,21 +399,21 @@ int up_lcdinitialize(void) * **************************************************************************************/ -FAR struct lcd_dev_s *up_lcdgetdev(int lcddev) +FAR struct lcd_dev_s *board_lcd_getdev(int lcddev) { DEBUGASSERT(lcddev == 0); return g_ssd1289drvr; } /************************************************************************************** - * Name: up_lcduninitialize + * Name: board_lcd_uninitialize * * Description: * Unitialize the LCD support * **************************************************************************************/ -void up_lcduninitialize(void) +void board_lcd_uninitialize(void) { /* Turn the display off */ |