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:
authorDaniel Garcia <dgarcia@dgarcia.net>2019-06-17 07:31:30 +0300
committerDaniel Garcia <dgarcia@dgarcia.net>2019-06-17 07:31:30 +0300
commitc563be6a37d9d561eb53f49a233fafd5c8c8b44a (patch)
treeb322e23b7469e51b6dc033af8be07a807cba3d81
parentfd859aea4459df0b6bf09d720b5b5a1bc8641fc6 (diff)
Try a fix for #804 but making sure gradiant color palettes are properly aligned
-rw-r--r--fastled_progmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastled_progmem.h b/fastled_progmem.h
index 5527c623..dfcb9eff 100644
--- a/fastled_progmem.h
+++ b/fastled_progmem.h
@@ -69,7 +69,7 @@ FASTLED_NAMESPACE_BEGIN
// force 4-byte alignment as needed. The FastLED gradient
// palette code uses 'read dword', and now uses this macro
// to make sure that gradient palettes are 4-byte aligned.
-#if defined(FASTLED_ARM) || defined(ESP32)
+#if defined(FASTLED_ARM) || defined(ESP32) || defined(ESP8266)
#define FL_ALIGN_PROGMEM __attribute__ ((aligned (4)))
#else
#define FL_ALIGN_PROGMEM