-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lpc55: Move USB initialization to end
This patch splits the NFC and USB initialization and moves the USB initialization to the end of the initialization process on the lpc55. This makes sure that we can respond to all USB requests as the poll task is started directly after the init process. Previously, we initialized the USB interface at the beginning of the process so that we could not respond to requests until the end of the init process. This could potentially mean that the device would lose the initial GET DESCRIPTOR request sent by the Linux kernel, causing a delay of typically 5 s after connecting the device. Fixes: #302
- Loading branch information
1 parent
ba8dbeb
commit 38e08d9
Showing
5 changed files
with
97 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.