Skip to content
Browse files

Try a fix for #804 but making sure gradiant color palettes are proper…

…ly aligned
  • Loading branch information...
Daniel Garcia
Daniel Garcia committed Jun 17, 2019
1 parent fd859ae commit c563be6a37d9d561eb53f49a233fafd5c8c8b44a
Showing with 1 addition and 1 deletion.
  1. +1 −1 fastled_progmem.h
// 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)))

0 comments on commit c563be6

Please sign in to comment.
You can’t perform that action at this time.