diff options
Diffstat (limited to 'nuttx/configs/pic32mx7mmb/src/pic32_mio283qt2.c')
-rw-r--r-- | nuttx/configs/pic32mx7mmb/src/pic32_mio283qt2.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/configs/pic32mx7mmb/src/pic32_mio283qt2.c b/nuttx/configs/pic32mx7mmb/src/pic32_mio283qt2.c index ff0e10ac2a..5384ffeeca 100644 --- a/nuttx/configs/pic32mx7mmb/src/pic32_mio283qt2.c +++ b/nuttx/configs/pic32mx7mmb/src/pic32_mio283qt2.c @@ -49,6 +49,7 @@ #include <debug.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include <nuttx/lcd/lcd.h> #include <nuttx/lcd/mio283qt2.h> @@ -410,7 +411,7 @@ static void pic32mx_backlight(FAR struct mio283qt2_lcd_s *dev, int power) **************************************************************************************/ /************************************************************************************** - * Name: up_lcdinitialize + * Name: board_lcd_initialize * * Description: * Initialize the LCD video hardware. The initial state of the LCD is fully @@ -419,7 +420,7 @@ static void pic32mx_backlight(FAR struct mio283qt2_lcd_s *dev, int power) * **************************************************************************************/ -int up_lcdinitialize(void) +int board_lcd_initialize(void) { uint32_t regval; @@ -485,7 +486,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 @@ -493,21 +494,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_pic32mx7mmb_lcd.drvr; } /************************************************************************************** - * 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 */ |