From 7937ea7327a461646fb2b0808bd3ebed7f65d2e5 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Wed, 26 Aug 2015 14:13:51 -0700 Subject: [PATCH] Enable DMB instruction at end of FIFO data copy. Can't hurt to make sure FIFO and buffer state are flushed before returning to caller... --- firmware/common/fifo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/common/fifo.hpp b/firmware/common/fifo.hpp index f266304e..338f9056 100644 --- a/firmware/common/fifo.hpp +++ b/firmware/common/fifo.hpp @@ -139,7 +139,7 @@ private: } void smp_wmb() { - /*__DMB();*/ + __DMB(); } size_t peek_n() {