From 6f431748b47523029da184380d5d3e0feabf896f Mon Sep 17 00:00:00 2001 From: Makuna Date: Tue, 5 May 2015 18:24:26 -0700 Subject: [PATCH] sync instructions and data also --- NeoPixelBus.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NeoPixelBus.cpp b/NeoPixelBus.cpp index 97a2523..7119796 100644 --- a/NeoPixelBus.cpp +++ b/NeoPixelBus.cpp @@ -106,6 +106,9 @@ static inline uint32_t get_ccount(void) static inline uint32_t esp8266_enter_critical() { uint32_t state; + + __asm__ __volatile__("dsync ; isync"); + RSIL(state); return state; }