From 135cf0e05b64bf36d4276a5131521dbb05446bce Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Mon, 31 Aug 2015 09:45:25 +0200 Subject: ucoo/hal/usb: fix missing barrier --- ucoo/hal/usb/usb.stm32.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'ucoo/hal') 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; } -- cgit v1.2.3