fix(int): fix bytes for clearing interrupt flags for usbd_serial

This commit is contained in:
doryan 2025-05-18 23:00:00 +04:00
parent 93ade5bda0
commit a269df21fe

View File

@ -457,5 +457,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 | 1 << 7);
const USBINT_CLEAR: u8 = 1 << 0;
const UDINT_CLEAR: u8 = !(1 << 1);