revert fix(int): fix bytes for clearing interrupt flags for usbd_serial
This commit is contained in:
doryan 2025-05-18 22:15:59 +03:00
parent dd28dfe61e
commit dba9637614

View File

@ -461,5 +461,5 @@ impl<const L: usize> UsbBus for UsbDevice<L> {
}
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);