Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avr: Remove some code from USB driver
Don't initialize ep0 in/out lens in set_ep0. These values get set when processing relevant setup packets. Assign instead of modify registers. As all bytes sent with ep0_queue_byte were always zero, remove the ability to send arbitrary bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
- Loading branch information
1 parent
2b1470d
commit f703e3a
Showing
1 changed file
with
6 additions
and
17 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