mirror of
git://soft.sys114.com/klipper
synced 2026-02-11 14:10:26 +09:00
atsam: Add data memory barrier to USB driver
Signed-off-by: Luke Vuksta <wulfstawulfsta@gmail.com>
This commit is contained in:
@@ -32,6 +32,7 @@ usb_write_packet(uint32_t ep, const uint8_t *data, uint32_t len)
|
|||||||
uint8_t *dest = usb_fifo(ep);
|
uint8_t *dest = usb_fifo(ep);
|
||||||
while (len--)
|
while (len--)
|
||||||
*dest++ = *data++;
|
*dest++ = *data++;
|
||||||
|
__DMB();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user