Permalink
Browse files

Fix #696 - memory align palettes on ESP32

  • Loading branch information...
Daniel Garcia
Daniel Garcia committed Jan 20, 2019
1 parent baa72db commit 17dd437a05f2068788075f7985a59425d2fbf391
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.
#ifdef FASTLED_ARM
#if defined(FASTLED_ARM) || defined(ESP32)
#define FL_ALIGN_PROGMEM __attribute__ ((aligned (4)))
#else
#define FL_ALIGN_PROGMEM

0 comments on commit 17dd437

Please sign in to comment.