From fb4fa33caee8b98d30bd8f3f9768993d057e69ee Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 13 Apr 2014 13:18:06 -0600 Subject: [PATCH] Cosmetic changes for coding style; removal of dangling spaces at the end of lines --- configs/cloudctrl/src/up_usb.c | 18 +++++++++--------- configs/mikroe-stm32f4/src/up_usb.c | 18 +++++++++--------- configs/shenzhou/src/up_usb.c | 18 +++++++++--------- configs/stm3220g-eval/src/up_usb.c | 18 +++++++++--------- configs/stm3240g-eval/src/up_usb.c | 18 +++++++++--------- configs/stm32f429i-disco/src/stm32_usb.c | 18 +++++++++--------- 6 files changed, 54 insertions(+), 54 deletions(-) diff --git a/configs/cloudctrl/src/up_usb.c b/configs/cloudctrl/src/up_usb.c index 2ef928c14f..f38689b5c0 100644 --- a/configs/cloudctrl/src/up_usb.c +++ b/configs/cloudctrl/src/up_usb.c @@ -211,14 +211,14 @@ int stm32_usbhost_initialize(void) * Enable/disable driving of VBUS 5V output. This function must be provided be * each platform that implements the STM32 OTG FS host interface * - * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump - * or, if 5 V are available on the application board, a basic power switch, must - * be added externally to drive the 5 V VBUS line. The external charge pump can - * be driven by any GPIO output. When the application decides to power on VBUS - * using the chosen GPIO, it must also set the port power bit in the host port + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port * control and status register (PPWR bit in OTG_FS_HPRT). * - * "The application uses this field to control power to this port, and the core + * "The application uses this field to control power to this port, and the core * clears this bit on an overcurrent condition." * * Input Parameters: @@ -234,7 +234,7 @@ int stm32_usbhost_initialize(void) void stm32_usbhost_vbusdrive(int iface, bool enable) { DEBUGASSERT(iface == 0); - + if (enable) { /* Enable the Power Switch by driving the enable pin low */ @@ -242,9 +242,9 @@ void stm32_usbhost_vbusdrive(int iface, bool enable) stm32_gpiowrite(GPIO_OTGFS_PWRON, false); } else - { + { /* Disable the Power Switch by driving the enable pin high */ - + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); } } diff --git a/configs/mikroe-stm32f4/src/up_usb.c b/configs/mikroe-stm32f4/src/up_usb.c index 967da72fb4..9a45c1a9b6 100644 --- a/configs/mikroe-stm32f4/src/up_usb.c +++ b/configs/mikroe-stm32f4/src/up_usb.c @@ -210,14 +210,14 @@ int stm32_usbhost_initialize(void) * Enable/disable driving of VBUS 5V output. This function must be provided be * each platform that implements the STM32 OTG FS host interface * - * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump - * or, if 5 V are available on the application board, a basic power switch, must - * be added externally to drive the 5 V VBUS line. The external charge pump can - * be driven by any GPIO output. When the application decides to power on VBUS - * using the chosen GPIO, it must also set the port power bit in the host port + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port * control and status register (PPWR bit in OTG_FS_HPRT). * - * "The application uses this field to control power to this port, and the core + * "The application uses this field to control power to this port, and the core * clears this bit on an overcurrent condition." * * Input Parameters: @@ -233,7 +233,7 @@ int stm32_usbhost_initialize(void) void stm32_usbhost_vbusdrive(int iface, bool enable) { DEBUGASSERT(iface == 0); - + if (enable) { /* Enable the Power Switch by driving the enable pin low */ @@ -241,9 +241,9 @@ void stm32_usbhost_vbusdrive(int iface, bool enable) stm32_gpiowrite(GPIO_OTGFS_PWRON, false); } else - { + { /* Disable the Power Switch by driving the enable pin high */ - + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); } } diff --git a/configs/shenzhou/src/up_usb.c b/configs/shenzhou/src/up_usb.c index 95e3a3c39c..e3416d86e7 100644 --- a/configs/shenzhou/src/up_usb.c +++ b/configs/shenzhou/src/up_usb.c @@ -210,14 +210,14 @@ int stm32_usbhost_initialize(void) * Enable/disable driving of VBUS 5V output. This function must be provided be * each platform that implements the STM32 OTG FS host interface * - * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump - * or, if 5 V are available on the application board, a basic power switch, must - * be added externally to drive the 5 V VBUS line. The external charge pump can - * be driven by any GPIO output. When the application decides to power on VBUS - * using the chosen GPIO, it must also set the port power bit in the host port + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port * control and status register (PPWR bit in OTG_FS_HPRT). * - * "The application uses this field to control power to this port, and the core + * "The application uses this field to control power to this port, and the core * clears this bit on an overcurrent condition." * * Input Parameters: @@ -233,7 +233,7 @@ int stm32_usbhost_initialize(void) void stm32_usbhost_vbusdrive(int iface, bool enable) { DEBUGASSERT(iface == 0); - + if (enable) { /* Enable the Power Switch by driving the enable pin low */ @@ -241,9 +241,9 @@ void stm32_usbhost_vbusdrive(int iface, bool enable) stm32_gpiowrite(GPIO_OTGFS_PWRON, false); } else - { + { /* Disable the Power Switch by driving the enable pin high */ - + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); } } diff --git a/configs/stm3220g-eval/src/up_usb.c b/configs/stm3220g-eval/src/up_usb.c index 72187d0091..d1638b2101 100644 --- a/configs/stm3220g-eval/src/up_usb.c +++ b/configs/stm3220g-eval/src/up_usb.c @@ -210,14 +210,14 @@ int stm32_usbhost_initialize(void) * Enable/disable driving of VBUS 5V output. This function must be provided be * each platform that implements the STM32 OTG FS host interface * - * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump - * or, if 5 V are available on the application board, a basic power switch, must - * be added externally to drive the 5 V VBUS line. The external charge pump can - * be driven by any GPIO output. When the application decides to power on VBUS - * using the chosen GPIO, it must also set the port power bit in the host port + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port * control and status register (PPWR bit in OTG_FS_HPRT). * - * "The application uses this field to control power to this port, and the core + * "The application uses this field to control power to this port, and the core * clears this bit on an overcurrent condition." * * Input Parameters: @@ -233,7 +233,7 @@ int stm32_usbhost_initialize(void) void stm32_usbhost_vbusdrive(int iface, bool enable) { DEBUGASSERT(iface == 0); - + if (enable) { /* Enable the Power Switch by driving the enable pin low */ @@ -241,9 +241,9 @@ void stm32_usbhost_vbusdrive(int iface, bool enable) stm32_gpiowrite(GPIO_OTGFS_PWRON, false); } else - { + { /* Disable the Power Switch by driving the enable pin high */ - + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); } } diff --git a/configs/stm3240g-eval/src/up_usb.c b/configs/stm3240g-eval/src/up_usb.c index d27ac37351..e12e65e43e 100644 --- a/configs/stm3240g-eval/src/up_usb.c +++ b/configs/stm3240g-eval/src/up_usb.c @@ -210,14 +210,14 @@ int stm32_usbhost_initialize(void) * Enable/disable driving of VBUS 5V output. This function must be provided be * each platform that implements the STM32 OTG FS host interface * - * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump - * or, if 5 V are available on the application board, a basic power switch, must - * be added externally to drive the 5 V VBUS line. The external charge pump can - * be driven by any GPIO output. When the application decides to power on VBUS - * using the chosen GPIO, it must also set the port power bit in the host port + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port * control and status register (PPWR bit in OTG_FS_HPRT). * - * "The application uses this field to control power to this port, and the core + * "The application uses this field to control power to this port, and the core * clears this bit on an overcurrent condition." * * Input Parameters: @@ -233,7 +233,7 @@ int stm32_usbhost_initialize(void) void stm32_usbhost_vbusdrive(int iface, bool enable) { DEBUGASSERT(iface == 0); - + if (enable) { /* Enable the Power Switch by driving the enable pin low */ @@ -241,9 +241,9 @@ void stm32_usbhost_vbusdrive(int iface, bool enable) stm32_gpiowrite(GPIO_OTGFS_PWRON, false); } else - { + { /* Disable the Power Switch by driving the enable pin high */ - + stm32_gpiowrite(GPIO_OTGFS_PWRON, true); } } diff --git a/configs/stm32f429i-disco/src/stm32_usb.c b/configs/stm32f429i-disco/src/stm32_usb.c index 11369638e7..433ceaccd2 100644 --- a/configs/stm32f429i-disco/src/stm32_usb.c +++ b/configs/stm32f429i-disco/src/stm32_usb.c @@ -209,14 +209,14 @@ int stm32_usbhost_initialize(void) * Enable/disable driving of VBUS 5V output. This function must be provided be * each platform that implements the STM32 OTG HS host interface * - * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump - * or, if 5 V are available on the application board, a basic power switch, must - * be added externally to drive the 5 V VBUS line. The external charge pump can - * be driven by any GPIO output. When the application decides to power on VBUS - * using the chosen GPIO, it must also set the port power bit in the host port + * "On-chip 5 V VBUS generation is not supported. For this reason, a charge pump + * or, if 5 V are available on the application board, a basic power switch, must + * be added externally to drive the 5 V VBUS line. The external charge pump can + * be driven by any GPIO output. When the application decides to power on VBUS + * using the chosen GPIO, it must also set the port power bit in the host port * control and status register (PPWR bit in OTG_HS_HPRT). * - * "The application uses this field to control power to this port, and the core + * "The application uses this field to control power to this port, and the core * clears this bit on an overcurrent condition." * * Input Parameters: @@ -232,7 +232,7 @@ int stm32_usbhost_initialize(void) void stm32_usbhost_vbusdrive(int iface, bool enable) { DEBUGASSERT(iface == 0); - + if (enable) { /* Enable the Power Switch by driving the enable pin low */ @@ -240,9 +240,9 @@ void stm32_usbhost_vbusdrive(int iface, bool enable) stm32_gpiowrite(GPIO_OTGHS_PWRON, false); } else - { + { /* Disable the Power Switch by driving the enable pin high */ - + stm32_gpiowrite(GPIO_OTGHS_PWRON, true); } }