summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openpcd/firmware/src/pcd_enumerate.c2
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)) {
personal git repositories of Harald Welte. Your mileage may vary