Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fastspi_bitbang.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fastspi_bitbang.h b/fastspi_bitbang.h
index 3add2b9c..dacdc237 100644
--- a/fastspi_bitbang.h
+++ b/fastspi_bitbang.h
@@ -123,6 +123,9 @@ public:
//cli();
if(b & (1 << BIT)) {
FastPin<DATA_PIN>::hi();
+#ifdef ESP32
+ FastPin<CLOCK_PIN>::lo(); // kick a different register, block premature optimizations?
+#endif
FastPin<CLOCK_PIN>::hi(); CLOCK_HI_DELAY;
FastPin<CLOCK_PIN>::lo(); CLOCK_LO_DELAY;
} else {