From 0ba41a67844085561faf8b58decc6b32b375c5bb Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Wed, 23 Aug 2006 17:22:41 +0000 Subject: fix ACK_BANK0 case of control transfer (missing ampersand) git-svn-id: https://svn.openpcd.org:2342/trunk@117 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/pcd_enumerate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3