Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NuttX RTOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
f4grx
NuttX RTOS
Commits
ea17bc3b
Commit
ea17bc3b
authored
10 years ago
by
Gregory Nutt
Browse files
Options
Downloads
Patches
Plain Diff
USB hub class: Was not using the configured poll delay value
parent
c15cc6e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/usbhost/usbhost_hub.c
+11
-3
11 additions, 3 deletions
drivers/usbhost/usbhost_hub.c
with
11 additions
and
3 deletions
drivers/usbhost/usbhost_hub.c
+
11
−
3
View file @
ea17bc3b
...
...
@@ -82,11 +82,19 @@
# error Low-priority work queue support is required (CONFIG_SCHED_LPWORK)
#endif
#ifndef CONFIG_USBHOST_ASYNCH
# error Asynchronous transfer support is required (CONFIG_USBHOST_ASYNCH)
#endif
#ifdef CONFIG_USBHOST_HUB_POLLMSEC
# define CONFIG_USBHOST_HUB_POLLMSEC 400
#endif
/* Perform polling actions with a delay on the low priority work queue, if
* configured
*/
#define POLL_DELAY MSEC2TICK(
400
)
#define POLL_DELAY MSEC2TICK(
CONFIG_USBHOST_HUB_POLLMSEC
)
/* Used in usbhost_cfgdesc() */
...
...
@@ -1140,8 +1148,8 @@ static void usbhost_putle16(uint8_t *dest, uint16_t val)
* Handle end of transfer callback.
*
* Input Parameters:
*
dest - A pointer to the first byte to save the little endian value.
*
val
- The
16-bit value to be saved.
*
arg - The argument provided with the asynchronous I/O was setup
*
result
- The
result of the transfer
*
* Returned Values:
* None
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment