fix(int): fix bytes for clearing interrupt flags for usbd_serial
This commit is contained in:
parent
93ade5bda0
commit
a269df21fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue