From f696caa6f41c7be86582ae10221cc98765c461b9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 3 Oct 2015 07:25:23 -0600 Subject: [PATCH] Standardize the width of all comment boxes in C files --- configs/arduino-due/src/sam_mmcsd.c | 2 +- configs/efm32-g8xx-stk/src/efm32_boot.c | 2 +- configs/efm32gg-stk3700/src/efm32_boot.c | 2 +- configs/fire-stm32v2/src/stm32_buttons.c | 2 +- configs/freedom-kl25z/src/kl_appinit.c | 2 +- configs/freedom-kl25z/src/kl_wifi.c | 2 +- configs/freedom-kl26z/src/kl_appinit.c | 2 +- configs/lm3s6965-ek/src/lm_oled.c | 4 +- configs/lm3s8962-ek/src/lm_oled.c | 4 +- configs/nucleo-f4x1re/src/stm32_wireless.c | 2 +- .../olimex-efm32g880f128-stk/src/efm32_boot.c | 2 +- .../pic32mz-starterkit/src/pic32mz_buttons.c | 4 +- configs/sam4l-xplained/src/sam_mmcsd.c | 2 +- configs/sam4l-xplained/src/sam_userleds.c | 4 +- configs/sama5d3x-ek/src/nor_main.c | 2 +- configs/sama5d4-ek/src/at25_main.c | 2 +- configs/sama5d4-ek/src/dram_main.c | 2 +- configs/samd20-xplained/src/sam_mmcsd.c | 2 +- configs/samd20-xplained/src/sam_userleds.c | 4 +- configs/samd21-xplained/src/sam_mmcsd.c | 2 +- configs/samd21-xplained/src/sam_userleds.c | 4 +- configs/saml21-xplained/src/sam_mmcsd.c | 2 +- configs/saml21-xplained/src/sam_userleds.c | 4 +- configs/spark/src/stm32_wireless.c | 2 +- .../stm32f429i-disco/src/stm32_ili93414ws.c | 126 +++++++++--------- configs/stm32f429i-disco/src/stm32_lcd.c | 24 ++-- configs/stm32f429i-disco/src/stm32_spi.c | 4 +- configs/stm32f746g-disco/src/stm32_userleds.c | 4 +- configs/teensy-lc/src/kl_appinit.c | 2 +- configs/zkit-arm-1769/src/lpc17_lcd.c | 4 +- configs/zkit-arm-1769/src/lpc17_spi.c | 4 +- configs/zkit-arm-1769/src/lpc17_ssp.c | 4 +- configs/zp214xpa/src/lpc2148_appinit.c | 2 +- 33 files changed, 118 insertions(+), 118 deletions(-) diff --git a/configs/arduino-due/src/sam_mmcsd.c b/configs/arduino-due/src/sam_mmcsd.c index 692144cb4f..23787dd7dd 100644 --- a/configs/arduino-due/src/sam_mmcsd.c +++ b/configs/arduino-due/src/sam_mmcsd.c @@ -245,7 +245,7 @@ static FAR struct spi_dev_s *sam_mmcsd_spiinitialize(void) * Description: * Initialize the SPI-based SD card. * - *****************************************************************************/ + ****************************************************************************/ int sam_sdinitialize(int minor) { diff --git a/configs/efm32-g8xx-stk/src/efm32_boot.c b/configs/efm32-g8xx-stk/src/efm32_boot.c index 1871c0e2bc..11686bfa4a 100644 --- a/configs/efm32-g8xx-stk/src/efm32_boot.c +++ b/configs/efm32-g8xx-stk/src/efm32_boot.c @@ -1,4 +1,4 @@ -/***************************************************************************** +/**************************************************************************** * configs/efm32-g8xx-stk/src/efm32_boot.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. diff --git a/configs/efm32gg-stk3700/src/efm32_boot.c b/configs/efm32gg-stk3700/src/efm32_boot.c index beada48329..8207917c31 100644 --- a/configs/efm32gg-stk3700/src/efm32_boot.c +++ b/configs/efm32gg-stk3700/src/efm32_boot.c @@ -1,4 +1,4 @@ -/***************************************************************************** +/**************************************************************************** * configs/efm32gg-stk3700/src/efm32_boot.c * * Copyright (C) 2014-2015 Gregory Nutt. All rights reserved. diff --git a/configs/fire-stm32v2/src/stm32_buttons.c b/configs/fire-stm32v2/src/stm32_buttons.c index de6bca27b0..8d3fed4167 100644 --- a/configs/fire-stm32v2/src/stm32_buttons.c +++ b/configs/fire-stm32v2/src/stm32_buttons.c @@ -109,7 +109,7 @@ uint8_t board_buttons(void) return ret; } -/***************************************************************************** +/**************************************************************************** * Button support. * * Description: diff --git a/configs/freedom-kl25z/src/kl_appinit.c b/configs/freedom-kl25z/src/kl_appinit.c index 28314da7d4..a58a43c0bd 100644 --- a/configs/freedom-kl25z/src/kl_appinit.c +++ b/configs/freedom-kl25z/src/kl_appinit.c @@ -63,7 +63,7 @@ * called directly from application code, but only indirectly via the * (non-standard) boardctl() interface using the command BOARDIOC_INIT. * - *****************************************************************************/ + ****************************************************************************/ int board_app_initialize(void) { diff --git a/configs/freedom-kl25z/src/kl_wifi.c b/configs/freedom-kl25z/src/kl_wifi.c index 18cb7be7d6..f439d5b523 100644 --- a/configs/freedom-kl25z/src/kl_wifi.c +++ b/configs/freedom-kl25z/src/kl_wifi.c @@ -321,7 +321,7 @@ int wireless_archinitialize(size_t max_rx_size) return OK; } -/***************************************************************************** +/**************************************************************************** * Name: C3000_wlan_init * * Description: diff --git a/configs/freedom-kl26z/src/kl_appinit.c b/configs/freedom-kl26z/src/kl_appinit.c index d8c0770e5b..c4e5ad7d42 100644 --- a/configs/freedom-kl26z/src/kl_appinit.c +++ b/configs/freedom-kl26z/src/kl_appinit.c @@ -61,7 +61,7 @@ * called directly from application code, but only indirectly via the * (non-standard) boardctl() interface using the command BOARDIOC_INIT. * - *****************************************************************************/ + ****************************************************************************/ int board_app_initialize(void) { diff --git a/configs/lm3s6965-ek/src/lm_oled.c b/configs/lm3s6965-ek/src/lm_oled.c index 7aa01e931b..1cf4cd4d93 100644 --- a/configs/lm3s6965-ek/src/lm_oled.c +++ b/configs/lm3s6965-ek/src/lm_oled.c @@ -137,7 +137,7 @@ FAR struct lcd_dev_s *board_graphics_setup(unsigned int devno) return NULL; } -/****************************************************************************** +/**************************************************************************** * Name: tiva_spicmddata * * Description: @@ -158,7 +158,7 @@ FAR struct lcd_dev_s *board_graphics_setup(unsigned int devno) * Returned Value: * None * - ******************************************************************************/ + ****************************************************************************/ int tiva_spicmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) { diff --git a/configs/lm3s8962-ek/src/lm_oled.c b/configs/lm3s8962-ek/src/lm_oled.c index b171881cb8..822f84a586 100644 --- a/configs/lm3s8962-ek/src/lm_oled.c +++ b/configs/lm3s8962-ek/src/lm_oled.c @@ -136,7 +136,7 @@ FAR struct lcd_dev_s *board_graphics_setup(unsigned int devno) return NULL; } -/****************************************************************************** +/**************************************************************************** * Name: tiva_spicmddata * * Description: @@ -157,7 +157,7 @@ FAR struct lcd_dev_s *board_graphics_setup(unsigned int devno) * Returned Value: * None * - ******************************************************************************/ + ****************************************************************************/ int tiva_spicmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) { diff --git a/configs/nucleo-f4x1re/src/stm32_wireless.c b/configs/nucleo-f4x1re/src/stm32_wireless.c index db59f24390..37457c9c2d 100644 --- a/configs/nucleo-f4x1re/src/stm32_wireless.c +++ b/configs/nucleo-f4x1re/src/stm32_wireless.c @@ -312,7 +312,7 @@ int wireless_archinitialize(size_t max_rx_size) return OK; } -/***************************************************************************** +/**************************************************************************** * Name: C3000_wlan_init * * Description: diff --git a/configs/olimex-efm32g880f128-stk/src/efm32_boot.c b/configs/olimex-efm32g880f128-stk/src/efm32_boot.c index ce9b4beaf5..76074dbe06 100644 --- a/configs/olimex-efm32g880f128-stk/src/efm32_boot.c +++ b/configs/olimex-efm32g880f128-stk/src/efm32_boot.c @@ -1,4 +1,4 @@ -/***************************************************************************** +/**************************************************************************** * configs/olimex-efm32g880f128-stk/src/efm32_boot.c * * Copyright (C) 2014-2015 Gregory Nutt. All rights reserved. diff --git a/configs/pic32mz-starterkit/src/pic32mz_buttons.c b/configs/pic32mz-starterkit/src/pic32mz_buttons.c index fb16c5da31..4e26b55950 100644 --- a/configs/pic32mz-starterkit/src/pic32mz_buttons.c +++ b/configs/pic32mz-starterkit/src/pic32mz_buttons.c @@ -128,7 +128,7 @@ uint8_t board_buttons(void) return ret; } -/***************************************************************************** +/**************************************************************************** * Button interrupt support. * * Description: @@ -149,7 +149,7 @@ uint8_t board_buttons(void) * value. The previous interrupt handler address is returned (so that it * may restored, if so desired). * - *****************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_ARCH_IRQBUTTONS xcpt_t board_button_irq(int id, xcpt_t irqhandler) diff --git a/configs/sam4l-xplained/src/sam_mmcsd.c b/configs/sam4l-xplained/src/sam_mmcsd.c index 6a98f45058..e080775451 100644 --- a/configs/sam4l-xplained/src/sam_mmcsd.c +++ b/configs/sam4l-xplained/src/sam_mmcsd.c @@ -83,7 +83,7 @@ * - CONFIG_MMCSD=y, and * - CONFIG_SAM34_SPI0=y * - *****************************************************************************/ + ****************************************************************************/ int sam_sdinitialize(int minor) { diff --git a/configs/sam4l-xplained/src/sam_userleds.c b/configs/sam4l-xplained/src/sam_userleds.c index 7a2c45efc0..8dff545c03 100644 --- a/configs/sam4l-xplained/src/sam_userleds.c +++ b/configs/sam4l-xplained/src/sam_userleds.c @@ -113,7 +113,7 @@ void sam_ledinit(void) * LEDs. If CONFIG_ARCH_LEDS is not defined, then the sam_setled() is * available to control the LED0 from user application logic. * - *****************************************************************************/ + ****************************************************************************/ void sam_setled(int led, bool ledon) { @@ -132,7 +132,7 @@ void sam_setled(int led, bool ledon) * available to control the LED0 from user application logic. NOTE: since * there is only a single LED on-board, this is function is not very useful. * - *****************************************************************************/ + ****************************************************************************/ void sam_setleds(uint8_t ledset) { diff --git a/configs/sama5d3x-ek/src/nor_main.c b/configs/sama5d3x-ek/src/nor_main.c index a50f85411c..be0e0274f9 100644 --- a/configs/sama5d3x-ek/src/nor_main.c +++ b/configs/sama5d3x-ek/src/nor_main.c @@ -1,4 +1,4 @@ -/***************************************************************************** +/**************************************************************************** * configs/sama5d3x-ek/src/nor_main.c * * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. diff --git a/configs/sama5d4-ek/src/at25_main.c b/configs/sama5d4-ek/src/at25_main.c index 2a9259ab14..078ee1725d 100644 --- a/configs/sama5d4-ek/src/at25_main.c +++ b/configs/sama5d4-ek/src/at25_main.c @@ -1,4 +1,4 @@ -/***************************************************************************** +/**************************************************************************** * configs/sama5d4-ek/src/at25_main.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. diff --git a/configs/sama5d4-ek/src/dram_main.c b/configs/sama5d4-ek/src/dram_main.c index e24458da39..54d83ae48f 100644 --- a/configs/sama5d4-ek/src/dram_main.c +++ b/configs/sama5d4-ek/src/dram_main.c @@ -1,4 +1,4 @@ -/***************************************************************************** +/**************************************************************************** * configs/sama5d4-ek/src/dram_main.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. diff --git a/configs/samd20-xplained/src/sam_mmcsd.c b/configs/samd20-xplained/src/sam_mmcsd.c index f9b61b3ae8..4849cf0915 100644 --- a/configs/samd20-xplained/src/sam_mmcsd.c +++ b/configs/samd20-xplained/src/sam_mmcsd.c @@ -84,7 +84,7 @@ * - CONFIG_MMCSD=y, and * - SAMDL_HAVE_SPI0=y (CONFIG_SAMDL_SERCOM0 && CONFIG_SAMDL_SERCOM0_ISSPI) * - *****************************************************************************/ + ****************************************************************************/ int sam_sdinitialize(int port, int minor) { diff --git a/configs/samd20-xplained/src/sam_userleds.c b/configs/samd20-xplained/src/sam_userleds.c index 907f72b821..0c3c1a86e0 100644 --- a/configs/samd20-xplained/src/sam_userleds.c +++ b/configs/samd20-xplained/src/sam_userleds.c @@ -113,7 +113,7 @@ void sam_ledinit(void) * LEDs. If CONFIG_ARCH_LEDS is not defined, then the sam_setled() is * available to control the LED from user application logic. * - *****************************************************************************/ + ****************************************************************************/ void sam_setled(int led, bool ledon) { @@ -132,7 +132,7 @@ void sam_setled(int led, bool ledon) * available to control the LED from user application logic. NOTE: since * there is only a single LED on-board, this is function is not very useful. * - *****************************************************************************/ + ****************************************************************************/ void sam_setleds(uint8_t ledset) { diff --git a/configs/samd21-xplained/src/sam_mmcsd.c b/configs/samd21-xplained/src/sam_mmcsd.c index 01ae0c9c0a..4c2a66500e 100644 --- a/configs/samd21-xplained/src/sam_mmcsd.c +++ b/configs/samd21-xplained/src/sam_mmcsd.c @@ -84,7 +84,7 @@ * - CONFIG_MMCSD=y, and * - SAMDL_HAVE_SPI0=y (CONFIG_SAMDL_SERCOM0 && CONFIG_SAMDL_SERCOM0_ISSPI) * - *****************************************************************************/ + ****************************************************************************/ int sam_sdinitialize(int port, int minor) { diff --git a/configs/samd21-xplained/src/sam_userleds.c b/configs/samd21-xplained/src/sam_userleds.c index a3de41dba0..ffe23e4381 100644 --- a/configs/samd21-xplained/src/sam_userleds.c +++ b/configs/samd21-xplained/src/sam_userleds.c @@ -113,7 +113,7 @@ void sam_ledinit(void) * LEDs. If CONFIG_ARCH_LEDS is not defined, then the sam_setled() is * available to control the LED from user application logic. * - *****************************************************************************/ + ****************************************************************************/ void sam_setled(int led, bool ledon) { @@ -132,7 +132,7 @@ void sam_setled(int led, bool ledon) * available to control the LED from user application logic. NOTE: since * there is only a single LED on-board, this is function is not very useful. * - *****************************************************************************/ + ****************************************************************************/ void sam_setleds(uint8_t ledset) { diff --git a/configs/saml21-xplained/src/sam_mmcsd.c b/configs/saml21-xplained/src/sam_mmcsd.c index e1e203bff6..2435ff08cd 100644 --- a/configs/saml21-xplained/src/sam_mmcsd.c +++ b/configs/saml21-xplained/src/sam_mmcsd.c @@ -84,7 +84,7 @@ * - CONFIG_MMCSD=y, and * - SAMDL_HAVE_SPI0=y (CONFIG_SAMDL_SERCOM0 && CONFIG_SAMDL_SERCOM0_ISSPI) * - *****************************************************************************/ + ****************************************************************************/ int sam_sdinitialize(int port, int minor) { diff --git a/configs/saml21-xplained/src/sam_userleds.c b/configs/saml21-xplained/src/sam_userleds.c index 71bc2222ec..abff213c0d 100644 --- a/configs/saml21-xplained/src/sam_userleds.c +++ b/configs/saml21-xplained/src/sam_userleds.c @@ -113,7 +113,7 @@ void sam_ledinit(void) * LEDs. If CONFIG_ARCH_LEDS is not defined, then the sam_setled() is * available to control the LED from user application logic. * - *****************************************************************************/ + ****************************************************************************/ void sam_setled(int led, bool ledon) { @@ -132,7 +132,7 @@ void sam_setled(int led, bool ledon) * available to control the LED from user application logic. NOTE: since * there is only a single LED on-board, this is function is not very useful. * - *****************************************************************************/ + ****************************************************************************/ void sam_setleds(uint8_t ledset) { diff --git a/configs/spark/src/stm32_wireless.c b/configs/spark/src/stm32_wireless.c index 12c17543c2..cd7dfa369d 100644 --- a/configs/spark/src/stm32_wireless.c +++ b/configs/spark/src/stm32_wireless.c @@ -312,7 +312,7 @@ int wireless_archinitialize(size_t max_rx_size) return OK; } -/***************************************************************************** +/**************************************************************************** * Name: C3000_wlan_init * * Description: diff --git a/configs/stm32f429i-disco/src/stm32_ili93414ws.c b/configs/stm32f429i-disco/src/stm32_ili93414ws.c index c5a2a6c60e..85c26f87a4 100644 --- a/configs/stm32f429i-disco/src/stm32_ili93414ws.c +++ b/configs/stm32f429i-disco/src/stm32_ili93414ws.c @@ -1,4 +1,4 @@ -/****************************************************************************** +/**************************************************************************** * configs/stm32f429i-disco/src/stm32_ili93414ws.c * * Driver for the ILI9341 Single Chip LCD driver connected @@ -39,11 +39,11 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ******************************************************************************/ + ****************************************************************************/ -/****************************************************************************** +/**************************************************************************** * Included Files - ******************************************************************************/ + ****************************************************************************/ #include #include @@ -56,9 +56,9 @@ #include #include "stm32f429i-disco.h" -/****************************************************************************** +/**************************************************************************** * Pre-processor Definitions - ******************************************************************************/ + ****************************************************************************/ /* Display is connected at spi5 device */ @@ -138,9 +138,9 @@ # define lcdvdbg(x...) #endif -/****************************************************************************** +/**************************************************************************** * Private Type Definition - ******************************************************************************/ + ****************************************************************************/ struct ili93414ws_lcd_s { @@ -175,9 +175,9 @@ struct ili93414ws_lcd_s }; -/****************************************************************************** +/**************************************************************************** * Private Function Protototypes - ******************************************************************************/ + ****************************************************************************/ /* Low-level spi transfer */ @@ -212,17 +212,17 @@ static inline void stm32_ili93414ws_cmddata( static void stm32_ili93414ws_spiconfig(FAR struct ili9341_lcd_s *lcd); -/****************************************************************************** +/**************************************************************************** * Private Data - ******************************************************************************/ + ****************************************************************************/ struct ili93414ws_lcd_s g_lcddev; -/****************************************************************************** +/**************************************************************************** * Private Functions - ******************************************************************************/ + ****************************************************************************/ -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_modifyreg * * Description: @@ -236,7 +236,7 @@ struct ili93414ws_lcd_s g_lcddev; * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_modifyreg( uint32_t reg, uint16_t setbits, uint16_t clrbits) @@ -249,7 +249,7 @@ static void stm32_ili93414ws_modifyreg( } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_modifycr1 * * Description: @@ -261,7 +261,7 @@ static void stm32_ili93414ws_modifyreg( * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static inline void stm32_ili93414ws_modifycr1(uint16_t setbits, uint16_t clrbits) { @@ -269,7 +269,7 @@ static inline void stm32_ili93414ws_modifycr1(uint16_t setbits, uint16_t clrbits } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_modifycr2 * * Description: @@ -281,7 +281,7 @@ static inline void stm32_ili93414ws_modifycr1(uint16_t setbits, uint16_t clrbits * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static inline void stm32_ili93414ws_modifycr2(uint16_t setbits, uint16_t clrbits) { @@ -289,7 +289,7 @@ static inline void stm32_ili93414ws_modifycr2(uint16_t setbits, uint16_t clrbits } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_spirecvmode * * Description: @@ -299,7 +299,7 @@ static inline void stm32_ili93414ws_modifycr2(uint16_t setbits, uint16_t clrbits * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_spirecvmode(void) { @@ -320,7 +320,7 @@ static void stm32_ili93414ws_spirecvmode(void) } -/***************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_spisendmode * * Description: @@ -330,7 +330,7 @@ static void stm32_ili93414ws_spirecvmode(void) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_spisendmode(void) { @@ -344,7 +344,7 @@ static void stm32_ili93414ws_spisendmode(void) } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_spienable * * Description: @@ -354,7 +354,7 @@ static void stm32_ili93414ws_spisendmode(void) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_spienable(void) { @@ -366,7 +366,7 @@ static void stm32_ili93414ws_spienable(void) } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_spidisable * * Description: @@ -376,7 +376,7 @@ static void stm32_ili93414ws_spienable(void) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_spidisable(void) { @@ -388,7 +388,7 @@ static void stm32_ili93414ws_spidisable(void) } -/******************************************************************************* +/**************************************************************************** * Name: stm32_ili93414ws_sndword * * Description: @@ -399,7 +399,7 @@ static void stm32_ili93414ws_spidisable(void) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_sndword(uint16_t wd) { @@ -412,7 +412,7 @@ static void stm32_ili93414ws_sndword(uint16_t wd) while ((getreg16(ILI93414WS_SPI_SR) & SPI_SR_TXE) == 0); } -/******************************************************************************* +/**************************************************************************** * Name: stm32_ili93414ws_sendblock * * Description: @@ -426,7 +426,7 @@ static void stm32_ili93414ws_sndword(uint16_t wd) * Returned Value: * On success - OK * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_sendblock(FAR struct ili93414ws_lcd_s *lcd, const uint16_t *wd, uint16_t nwords) @@ -501,7 +501,7 @@ static int stm32_ili93414ws_sendblock(FAR struct ili93414ws_lcd_s *lcd, } -/***************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_recvword * * Description: @@ -513,7 +513,7 @@ static int stm32_ili93414ws_sendblock(FAR struct ili93414ws_lcd_s *lcd, * On success - The received word from the LCD Single Chip Driver. * On error - 0 (If timeout during receiving) * - ******************************************************************************/ + ****************************************************************************/ static uint16_t stm32_ili93414ws_recvword(void) { @@ -590,7 +590,7 @@ static uint16_t stm32_ili93414ws_recvword(void) } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_recvblock * * Description: @@ -605,7 +605,7 @@ static uint16_t stm32_ili93414ws_recvword(void) * Returned Value: * OK - On Success * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_recvblock(FAR struct ili93414ws_lcd_s *lcd, uint16_t *wd, uint16_t nwords) @@ -724,7 +724,7 @@ static int stm32_ili93414ws_recvblock(FAR struct ili93414ws_lcd_s *lcd, } -/******************************************************************************* +/**************************************************************************** * Name: stm32_ili93414ws_set8bitmode * * Description: @@ -735,7 +735,7 @@ static int stm32_ili93414ws_recvblock(FAR struct ili93414ws_lcd_s *lcd, * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static inline void stm32_ili93414ws_set8bitmode( FAR struct ili93414ws_lcd_s *dev) @@ -748,7 +748,7 @@ static inline void stm32_ili93414ws_set8bitmode( #ifdef CONFIG_STM32F429I_DISCO_ILI9341_SPIBITS16 -/******************************************************************************* +/**************************************************************************** * Name: stm32_ili93414ws_set16bitmode * * Description: @@ -759,7 +759,7 @@ static inline void stm32_ili93414ws_set8bitmode( * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static inline void stm32_ili93414ws_set16bitmode( FAR struct ili93414ws_lcd_s *dev) @@ -776,7 +776,7 @@ static inline void stm32_ili93414ws_set16bitmode( #endif -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_spiconfig * * Description: @@ -787,7 +787,7 @@ static inline void stm32_ili93414ws_set16bitmode( * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ static void stm32_ili93414ws_spiconfig(FAR struct ili9341_lcd_s *lcd) { @@ -842,7 +842,7 @@ static void stm32_ili93414ws_spiconfig(FAR struct ili9341_lcd_s *lcd) irqrestore(flags); } -/******************************************************************************* +/**************************************************************************** * Name: stm32_ili93414ws_cmddata * * Description: @@ -854,7 +854,7 @@ static void stm32_ili93414ws_spiconfig(FAR struct ili9341_lcd_s *lcd) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ #ifdef ILI93414WS_SPI static inline void stm32_ili93414ws_cmddata( FAR struct ili9341_lcd_s *lcd, bool cmd) @@ -871,11 +871,11 @@ static inline void stm32_ili93414ws_cmddata( } #endif -/****************************************************************************** +/**************************************************************************** * Public Functions - ******************************************************************************/ + ****************************************************************************/ -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_backlight * * Description: @@ -888,7 +888,7 @@ static inline void stm32_ili93414ws_cmddata( * Returned Value: * OK - On Success * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_backlight(FAR struct ili9341_lcd_s *lcd, int level) { @@ -896,7 +896,7 @@ static int stm32_ili93414ws_backlight(FAR struct ili9341_lcd_s *lcd, int level) } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_select * * Description: @@ -907,7 +907,7 @@ static int stm32_ili93414ws_backlight(FAR struct ili9341_lcd_s *lcd, int level) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ #ifdef ILI93414WS_SPI static void stm32_ili93414ws_select(FAR struct ili9341_lcd_s *lcd) { @@ -938,7 +938,7 @@ static void stm32_ili93414ws_select(FAR struct ili9341_lcd_s *lcd) } #endif -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_deselect * * Description: @@ -949,7 +949,7 @@ static void stm32_ili93414ws_select(FAR struct ili9341_lcd_s *lcd) * * Returned Value: * - ******************************************************************************/ + ****************************************************************************/ #ifdef ILI93414WS_SPI static void stm32_ili93414ws_deselect(FAR struct ili9341_lcd_s *lcd) @@ -991,7 +991,7 @@ static void stm32_ili93414ws_deselect(FAR struct ili9341_lcd_s *lcd) #endif -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_sndcmd * * Description: @@ -1004,7 +1004,7 @@ static void stm32_ili93414ws_deselect(FAR struct ili9341_lcd_s *lcd) * Returned Value: * On success - OK * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_sendcmd( FAR struct ili9341_lcd_s *lcd, const uint8_t cmd) @@ -1026,7 +1026,7 @@ static int stm32_ili93414ws_sendcmd( } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_sendparam * * Description: @@ -1039,7 +1039,7 @@ static int stm32_ili93414ws_sendcmd( * Returned Value: * OK - On Success * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_sendparam(FAR struct ili9341_lcd_s *lcd, const uint8_t param) @@ -1056,7 +1056,7 @@ static int stm32_ili93414ws_sendparam(FAR struct ili9341_lcd_s *lcd, } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_sendgram * * Description: @@ -1070,7 +1070,7 @@ static int stm32_ili93414ws_sendparam(FAR struct ili9341_lcd_s *lcd, * Returned Value: * OK - On Success * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_sendgram(FAR struct ili9341_lcd_s *lcd, const uint16_t *wd, uint32_t nwords) @@ -1087,7 +1087,7 @@ static int stm32_ili93414ws_sendgram(FAR struct ili9341_lcd_s *lcd, }; -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_recvparam * * Description: @@ -1100,7 +1100,7 @@ static int stm32_ili93414ws_sendgram(FAR struct ili9341_lcd_s *lcd, * Returned Value: * OK - On Success * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_recvparam(FAR struct ili9341_lcd_s *lcd, uint8_t *param) @@ -1118,7 +1118,7 @@ static int stm32_ili93414ws_recvparam(FAR struct ili9341_lcd_s *lcd, } -/****************************************************************************** +/**************************************************************************** * Name: stm32_ili93414ws_recvgram * * Description: @@ -1132,7 +1132,7 @@ static int stm32_ili93414ws_recvparam(FAR struct ili9341_lcd_s *lcd, * Returned Value: * OK - On Success * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili93414ws_recvgram(FAR struct ili9341_lcd_s *lcd, uint16_t *wd, uint32_t nwords) @@ -1162,7 +1162,7 @@ static int stm32_ili93414ws_recvgram(FAR struct ili9341_lcd_s *lcd, * for the specified ILI9341 LCD Single chip driver connected as 4 wire serial * (spi). NULL is returned on any failure. * - ******************************************************************************/ + ****************************************************************************/ #ifdef ILI93414WS_SPI FAR struct ili9341_lcd_s *stm32_ili93414ws_initialize(void) diff --git a/configs/stm32f429i-disco/src/stm32_lcd.c b/configs/stm32f429i-disco/src/stm32_lcd.c index 1d1a201ade..07fc6fb271 100644 --- a/configs/stm32f429i-disco/src/stm32_lcd.c +++ b/configs/stm32f429i-disco/src/stm32_lcd.c @@ -279,9 +279,9 @@ #define ILI9341_YRES BOARD_LTDC_HEIGHT #endif /* CONFIG_STM32F429I_DISCO_ILI9341_FBIFACE */ -/****************************************************************************** +/**************************************************************************** * Private Data - ******************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_STM32F429I_DISCO_ILI9341_LCDIFACE FAR struct lcd_dev_s *g_lcd = NULL; @@ -296,13 +296,13 @@ FAR struct ili9341_lcd_s *g_ltdc = NULL; ************************************************************************************/ #ifdef CONFIG_STM32F429I_DISCO_ILI9341_FBIFACE -/******************************************************************************* +/**************************************************************************** * Name: stm32_ili9341_initialize * * Description: * Initialize the ili9341 LCD controller to the RGB interface mode. * - ******************************************************************************/ + ****************************************************************************/ static int stm32_ili9341_initialize(void) { @@ -512,7 +512,7 @@ int board_lcd_initialize(void) #endif /* CONFIG_STM32F429I_DISCO_ILI9341_LCDIFACE */ #ifdef CONFIG_STM32_LTDC -/******************************************************************************* +/**************************************************************************** * Name: up_fbinitialize * * Description: @@ -521,7 +521,7 @@ int board_lcd_initialize(void) * Return: * OK - On succes * - ******************************************************************************/ + ****************************************************************************/ int up_fbinitialize(void) { @@ -546,7 +546,7 @@ int up_fbinitialize(void) #endif } -/******************************************************************************* +/**************************************************************************** * Name: up_fbgetvplane * * Description: @@ -558,27 +558,27 @@ int up_fbinitialize(void) * Return: * Reference to the fb_vtable_s on success otherwise NULL. * - ******************************************************************************/ + ****************************************************************************/ FAR struct fb_vtable_s *up_fbgetvplane(int vplane) { return stm32_ltdcgetvplane(vplane); } -/****************************************************************************** +/**************************************************************************** * Name: up_uninitialize * * Description: * The generic method to uninitialize the framebuffer device * - ******************************************************************************/ + ****************************************************************************/ void fb_uninitialize(void) { stm32_ltdcuninitialize(); } -/****************************************************************************** +/**************************************************************************** * Name: up_ltdcgetlayer * * Description: @@ -588,7 +588,7 @@ void fb_uninitialize(void) * Parameter: * lid - The specific layer identifier * - ******************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_STM32_LTDC_INTERFACE FAR struct ltdc_layer_s *up_ltdcgetlayer(int lid) diff --git a/configs/stm32f429i-disco/src/stm32_spi.c b/configs/stm32f429i-disco/src/stm32_spi.c index 7988c8db18..11852a67cb 100644 --- a/configs/stm32f429i-disco/src/stm32_spi.c +++ b/configs/stm32f429i-disco/src/stm32_spi.c @@ -291,7 +291,7 @@ int stm32_spi5cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) #endif /* CONFIG_SPI_CMDDATA */ -/****************************************************************************** +/**************************************************************************** * Name: stm32_spi5initialize * * Description: @@ -310,7 +310,7 @@ int stm32_spi5cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) * Returned Value: * Valid SPI device structure reference on success; a NULL on failure * - ******************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_STM32_SPI5 FAR struct spi_dev_s *stm32_spi5initialize(void) diff --git a/configs/stm32f746g-disco/src/stm32_userleds.c b/configs/stm32f746g-disco/src/stm32_userleds.c index cb7afb2dea..5733949e10 100644 --- a/configs/stm32f746g-disco/src/stm32_userleds.c +++ b/configs/stm32f746g-disco/src/stm32_userleds.c @@ -90,7 +90,7 @@ void stm32_ledinit(void) * LEDs. If CONFIG_ARCH_LEDS is not defined, then the stm32_setled() is * available to control the LED from user application logic. * - *****************************************************************************/ + ****************************************************************************/ void stm32_setled(int led, bool ledon) { @@ -109,7 +109,7 @@ void stm32_setled(int led, bool ledon) * available to control the LED from user application logic. NOTE: since * there is only a single LED on-board, this is function is not very useful. * - *****************************************************************************/ + ****************************************************************************/ void stm32_setleds(uint8_t ledset) { diff --git a/configs/teensy-lc/src/kl_appinit.c b/configs/teensy-lc/src/kl_appinit.c index 28ec37bf14..8d96c28e76 100644 --- a/configs/teensy-lc/src/kl_appinit.c +++ b/configs/teensy-lc/src/kl_appinit.c @@ -63,7 +63,7 @@ * called directly from application code, but only indirectly via the * (non-standard) boardctl() interface using the command BOARDIOC_INIT. * - *****************************************************************************/ + ****************************************************************************/ int board_app_initialize(void) { diff --git a/configs/zkit-arm-1769/src/lpc17_lcd.c b/configs/zkit-arm-1769/src/lpc17_lcd.c index 4012e2ceca..2ed854b434 100644 --- a/configs/zkit-arm-1769/src/lpc17_lcd.c +++ b/configs/zkit-arm-1769/src/lpc17_lcd.c @@ -160,7 +160,7 @@ void board_lcd_uninitialize(void) /* TO-FIX */ } -/****************************************************************************** +/**************************************************************************** * Name: lpc17_spicmddata * * Description: @@ -181,7 +181,7 @@ void board_lcd_uninitialize(void) * Returned Value: * None * - ******************************************************************************/ + ****************************************************************************/ int lpc17_ssp0cmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) { diff --git a/configs/zkit-arm-1769/src/lpc17_spi.c b/configs/zkit-arm-1769/src/lpc17_spi.c index 364d149dce..37f837fdcd 100644 --- a/configs/zkit-arm-1769/src/lpc17_spi.c +++ b/configs/zkit-arm-1769/src/lpc17_spi.c @@ -174,12 +174,12 @@ uint8_t lpc17_spistatus(FAR struct spi_dev_s *dev, enum spi_dev_e devid) } #ifdef CONFIG_SPI_CMDDATA -/****************************************************************************** +/**************************************************************************** * Name: lpc17_spicmddata * * Description: Dummy Function * - ******************************************************************************/ + ****************************************************************************/ int lpc17_spicmddata(FAR struct spi_dev_s *dev, enum spi_dev_e devid, bool cmd) { diff --git a/configs/zkit-arm-1769/src/lpc17_ssp.c b/configs/zkit-arm-1769/src/lpc17_ssp.c index 30a792f4f4..faad90d70d 100644 --- a/configs/zkit-arm-1769/src/lpc17_ssp.c +++ b/configs/zkit-arm-1769/src/lpc17_ssp.c @@ -160,12 +160,12 @@ uint8_t lpc17_ssp1status(FAR struct spi_dev_s *dev, enum spi_dev_e devid) return SPI_STATUS_PRESENT; } -/****************************************************************************** +/**************************************************************************** * Name: lpc17_ssp1cmddata * * Description: Dummy Function * - ******************************************************************************/ + ****************************************************************************/ #ifdef CONFIG_SPI_CMDDATA int weak_function lpc17_ssp1cmddata(FAR struct spi_dev_s *dev, diff --git a/configs/zp214xpa/src/lpc2148_appinit.c b/configs/zp214xpa/src/lpc2148_appinit.c index 2696e4f603..ae403949bc 100644 --- a/configs/zp214xpa/src/lpc2148_appinit.c +++ b/configs/zp214xpa/src/lpc2148_appinit.c @@ -56,7 +56,7 @@ * called directly from application code, but only indirectly via the * (non-standard) boardctl() interface using the command BOARDIOC_INIT. * - *****************************************************************************/ + ****************************************************************************/ int board_app_initialize(void) {