From cfa76a66727c6798d353ae9f62824b61d10aaf84 Mon Sep 17 00:00:00 2001 From: doryan Date: Sun, 18 May 2025 23:18:52 +0400 Subject: [PATCH] fix(int): USBINT interrupt --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5e5f899..79ba68e 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 | 1 << 7); +const USBINT_CLEAR: u8 = 1 << 0; +const UDINT_CLEAR: u8 = !(1 << 7 | 1 << 1);