diff options
author | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-23 17:22:41 +0000 |
---|---|---|
committer | (no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-08-23 17:22:41 +0000 |
commit | 0ba41a67844085561faf8b58decc6b32b375c5bb (patch) | |
tree | b6e2da6da05212ebe1ea1a7cf4bbafabfd816671 | |
parent | 2f13a231e309c4143d74a319c6d5ce7f3501f574 (diff) |
fix ACK_BANK0 case of control transfer (missing ampersand)
git-svn-id: https://svn.openpcd.org:2342/trunk@117 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r-- | openpcd/firmware/src/pcd_enumerate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpcd/firmware/src/pcd_enumerate.c b/openpcd/firmware/src/pcd_enumerate.c index 3eb520f..982a1b8 100644 --- a/openpcd/firmware/src/pcd_enumerate.c +++ b/openpcd/firmware/src/pcd_enumerate.c @@ -495,7 +495,7 @@ static void udp_ep0_handler(void) if (csr & AT91C_UDP_RX_DATA_BK0) { DEBUGP("ACK_BANK0 "); - pUDP->UDP_CSR[0] = ~AT91C_UDP_RX_DATA_BK0; + pUDP->UDP_CSR[0] &= ~AT91C_UDP_RX_DATA_BK0; } if (!(csr & AT91C_UDP_RXSETUP)) { |