diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-04-04 11:49:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-04-04 11:49:15 -0600 |
commit | b262b5a5c69de0d0c304d3f1e1cd72c17ced05b8 (patch) | |
tree | 73a53c3adda267ac7344c722f782fab2102c7e00 /nuttx/configs/stm3220g-eval | |
parent | 6c0df9bdef90762526d5c541b04f6e2b701c8628 (diff) | |
download | px4-nuttx-b262b5a5c69de0d0c304d3f1e1cd72c17ced05b8.tar.gz px4-nuttx-b262b5a5c69de0d0c304d3f1e1cd72c17ced05b8.tar.bz2 px4-nuttx-b262b5a5c69de0d0c304d3f1e1cd72c17ced05b8.zip |
More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize
Diffstat (limited to 'nuttx/configs/stm3220g-eval')
-rw-r--r-- | nuttx/configs/stm3220g-eval/src/stm32_lcd.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/nuttx/configs/stm3220g-eval/src/stm32_lcd.c b/nuttx/configs/stm3220g-eval/src/stm32_lcd.c index 39878b296..d173cb2c0 100644 --- a/nuttx/configs/stm3220g-eval/src/stm32_lcd.c +++ b/nuttx/configs/stm3220g-eval/src/stm32_lcd.c @@ -53,6 +53,7 @@ #include <debug.h> #include <nuttx/arch.h> +#include <nuttx/board.h> #include <nuttx/spi/spi.h> #include <nuttx/lcd/lcd.h> @@ -1122,7 +1123,7 @@ static inline void stm3220g_lcdinitialize(void) **************************************************************************************/ /************************************************************************************** - * Name: up_lcdinitialize + * Name: board_lcd_initialize * * Description: * Initialize the LCD video hardware. The initial state of the LCD is fully @@ -1131,7 +1132,7 @@ static inline void stm3220g_lcdinitialize(void) * **************************************************************************************/ -int up_lcdinitialize(void) +int board_lcd_initialize(void) { lcdvdbg("Initializing\n"); @@ -1155,7 +1156,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 @@ -1163,21 +1164,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_lcddev.dev; } /************************************************************************************** - * Name: up_lcduninitialize + * Name: board_lcd_uninitialize * * Description: * Unitialize the LCD support * **************************************************************************************/ -void up_lcduninitialize(void) +void board_lcd_uninitialize(void) { stm3220g_poweroff(); stm32_deselectlcd(); |