You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by da...@apache.org on 2021/04/14 21:57:41 UTC
[incubator-nuttx] 05/11: Fixed comment lengths
This is an automated email from the ASF dual-hosted git repository.
davids5 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 2f92ecc7d62fd7f098a40e9a4883541d18783822
Author: jturnsek <je...@gmail.com>
AuthorDate: Wed Apr 7 09:05:30 2021 +0200
Fixed comment lengths
---
boards/arm/imxrt/imxrt1064-evk/src/imxrt_usbhost.c | 36 +++++++++++-----------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/boards/arm/imxrt/imxrt1064-evk/src/imxrt_usbhost.c b/boards/arm/imxrt/imxrt1064-evk/src/imxrt_usbhost.c
index ba64763..925bba4 100644
--- a/boards/arm/imxrt/imxrt1064-evk/src/imxrt_usbhost.c
+++ b/boards/arm/imxrt/imxrt1064-evk/src/imxrt_usbhost.c
@@ -18,9 +18,9 @@
*
****************************************************************************/
-/*****************************************************************************
+/****************************************************************************
* Included Files
- *****************************************************************************/
+ ****************************************************************************/
#include <nuttx/config.h>
@@ -50,9 +50,9 @@
#if defined(CONFIG_IMXRT_USBOTG) || defined(CONFIG_USBHOST)
-/*****************************************************************************
+/****************************************************************************
* Pre-processor Definitions
- *****************************************************************************/
+ ****************************************************************************/
#ifndef CONFIG_USBHOST_DEFPRIO
# define CONFIG_USBHOST_DEFPRIO 50
@@ -66,25 +66,25 @@
# endif
#endif
-/*****************************************************************************
+/****************************************************************************
* Private Data
- *****************************************************************************/
+ ****************************************************************************/
/* Retained device driver handle */
static struct usbhost_connection_s *g_ehciconn;
-/*****************************************************************************
+/****************************************************************************
* Private Functions
- *****************************************************************************/
+ ****************************************************************************/
-/*****************************************************************************
+/****************************************************************************
* Name: ehci_waiter
*
* Description:
* Wait for USB devices to be connected to the EHCI root hub.
*
- *****************************************************************************/
+ ****************************************************************************/
static int ehci_waiter(int argc, char *argv[])
{
@@ -114,11 +114,11 @@ static int ehci_waiter(int argc, char *argv[])
return 0;
}
-/*****************************************************************************
+/****************************************************************************
* Public Functions
- *****************************************************************************/
+ ****************************************************************************/
-/*****************************************************************************
+/****************************************************************************
* Name: imxrt_usbhost_initialize
*
* Description:
@@ -127,7 +127,7 @@ static int ehci_waiter(int argc, char *argv[])
* This function will start a thread that will monitor for device
* connection/disconnection events.
*
- *****************************************************************************/
+ ****************************************************************************/
int imxrt_usbhost_initialize(void)
{
@@ -215,7 +215,7 @@ int imxrt_usbhost_initialize(void)
return OK;
}
-/*****************************************************************************
+/****************************************************************************
* Name: imxrt_usbhost_vbusdrive
*
* Description:
@@ -232,7 +232,7 @@ int imxrt_usbhost_initialize(void)
* Returned Value:
* None
*
- *****************************************************************************/
+ ****************************************************************************/
#define HCOR ((volatile struct ehci_hcor_s *)IMXRT_USBOTG_HCOR_BASE)
@@ -259,7 +259,7 @@ void imxrt_usbhost_vbusdrive(int rhport, bool enable)
}
}
-/*****************************************************************************
+/****************************************************************************
* Name: imxrt_setup_overcurrent
*
* Description:
@@ -274,7 +274,7 @@ void imxrt_usbhost_vbusdrive(int rhport, bool enable)
* Zero (OK) returned on success; a negated errno value is returned on
* failure.
*
- *****************************************************************************/
+ ****************************************************************************/
#if 0 /* Not ready yet */
int imxrt_setup_overcurrent(xcpt_t handler, void *arg)