Skip to content

Commit ad6903d

Browse files
blazonceksofthack007
authored andcommitted
Merge pull request wled#3723 from Derek4aty1/dnaSpiralFix
DNA Spiral Effect Speed Fix
1 parent 731f8ef commit ad6903d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wled00/FX.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -4998,7 +4998,7 @@ static const char _data_FX_MODE_2DDNA[] PROGMEM = "DNA@Scroll speed,Blur;;!;2";
49984998
/////////////////////////
49994999
// 2D DNA Spiral //
50005000
/////////////////////////
5001-
uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulmatelights.com/gallery/810 , modified by: Andrew Tuline
5001+
uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulmatelights.com/gallery/512-dna-spiral-variation , modified by: Andrew Tuline
50025002
if (!strip.isMatrix) return mode_static(); // not a 2D set-up
50035003

50045004
const uint16_t cols = SEGMENT.virtualWidth();
@@ -5009,7 +5009,7 @@ uint16_t mode_2DDNASpiral() { // By: ldirko https://editor.soulma
50095009
SEGMENT.fill(BLACK);
50105010
}
50115011

5012-
uint8_t speeds = SEGMENT.speed/2 + 1;
5012+
uint8_t speeds = SEGMENT.speed/2 + 7;
50135013
uint8_t freq = SEGMENT.intensity/8;
50145014

50155015
uint32_t ms = strip.now / 20;

0 commit comments

Comments
 (0)