mirror of
https://github.com/wled/WLED.git
synced 2025-04-23 22:37:18 +00:00
FX:
- Matrix bugfix - Lissajous metadata fix
This commit is contained in:
parent
9815a55221
commit
7ec30f0796
@ -5276,7 +5276,7 @@ uint16_t mode_2DLissajous(void) { // By: Andrew Tuline
|
||||
|
||||
return FRAMETIME;
|
||||
} // mode_2DLissajous()
|
||||
static const char _data_FX_MODE_2DLISSAJOUS[] PROGMEM = "Lissajous@X frequency,Fade rate,,,Speed;!;!;2;;c3=15";
|
||||
static const char _data_FX_MODE_2DLISSAJOUS[] PROGMEM = "Lissajous@X frequency,Fade rate,,,Speed;!;!;2;c3=15";
|
||||
|
||||
|
||||
///////////////////////
|
||||
@ -5288,7 +5288,7 @@ uint16_t mode_2Dmatrix(void) { // Matrix2D. By Jeremy Williams.
|
||||
const uint16_t cols = SEGMENT.virtualWidth();
|
||||
const uint16_t rows = SEGMENT.virtualHeight();
|
||||
|
||||
uint16_t dataSize = (SEGLEN+7) >> 3; //1 bit per LED for trails
|
||||
uint16_t dataSize = (SEGMENT.length()+7) >> 3; //1 bit per LED for trails
|
||||
if (!SEGENV.allocateData(dataSize)) return mode_static(); //allocation failed
|
||||
|
||||
if (SEGENV.call == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user