style
This commit is contained in:
@@ -573,7 +573,7 @@ bool usb_check() {
|
|||||||
if (isr & AT91C_UDP_ENDBUSRES) {
|
if (isr & AT91C_UDP_ENDBUSRES) {
|
||||||
pUdp->UDP_ICR = AT91C_UDP_ENDBUSRES;
|
pUdp->UDP_ICR = AT91C_UDP_ENDBUSRES;
|
||||||
// reset all endpoints
|
// reset all endpoints
|
||||||
pUdp->UDP_RSTEP = (unsigned int) -1;
|
pUdp->UDP_RSTEP = (unsigned int) - 1;
|
||||||
pUdp->UDP_RSTEP = 0;
|
pUdp->UDP_RSTEP = 0;
|
||||||
// Enable the function
|
// Enable the function
|
||||||
pUdp->UDP_FADDR = AT91C_UDP_FEN;
|
pUdp->UDP_FADDR = AT91C_UDP_FEN;
|
||||||
|
|||||||
Reference in New Issue
Block a user