diff --git a/src/lib.rs b/src/lib.rs index 5cf50f4..5e5f899 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -461,5 +461,5 @@ impl UsbBus for UsbDevice { } const RESTRICT_RW_FLAG: u8 = !(1 << 5); -const USBINT_CLEAR: u8 = 1 << 0; -const UDINT_CLEAR: u8 = !(1 << 1); +const USBINT_CLEAR: u8 = !(1 << 0); +const UDINT_CLEAR: u8 = !(1 << 1 | 1 << 7);