Skip to content

Commit

Permalink
Merge pull request #73 from arneboe/fix_static_effect_timing
Browse files Browse the repository at this point in the history
Fix return value (frameDelay) of FX_MODE_STATIC
  • Loading branch information
softhack007 authored Oct 7, 2023
2 parents fea47b5 + 0ec54c4 commit 77cef80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/FX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static int8_t tristate_square8(uint8_t x, uint8_t pulsewidth, uint8_t attdec) {
*/
uint16_t mode_static(void) {
SEGMENT.fill(SEGCOLOR(0));
return 350;
return FRAMETIME_FIXED_SLOW; // WLEDMM to ensure smooth color changes from DMX (PR #73)
}
static const char _data_FX_MODE_STATIC[] PROGMEM = "Solid";

Expand Down

0 comments on commit 77cef80

Please sign in to comment.