summaryrefslogtreecommitdiff
path: root/ucoo/hal
diff options
context:
space:
mode:
Diffstat (limited to 'ucoo/hal')
-rw-r--r--ucoo/hal/usb/usb.stm32.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ucoo/hal/usb/usb.stm32.cc b/ucoo/hal/usb/usb.stm32.cc
index dfc085e..6ec0902 100644
--- a/ucoo/hal/usb/usb.stm32.cc
+++ b/ucoo/hal/usb/usb.stm32.cc
@@ -184,6 +184,7 @@ UsbStream::write (const char *buf, int count)
}
if (!block_)
break;
+ barrier ();
}
return count - left;
}