summaryrefslogtreecommitdiff
path: root/ucoo/hal
diff options
context:
space:
mode:
authorNicolas Schodet2015-08-31 09:45:25 +0200
committerNicolas Schodet2019-10-07 00:44:50 +0200
commit135cf0e05b64bf36d4276a5131521dbb05446bce (patch)
tree8ad4f6df53103ee1050b908c3e413d1fd06bcd91 /ucoo/hal
parente936a9b325475c43796dc72d34e5c9fcce23f271 (diff)
ucoo/hal/usb: fix missing barrier
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;
}