Compile fix for disabled 2D.
This commit is contained in:
parent
eb184d3c68
commit
983aca515d
@ -693,7 +693,9 @@ class WS2812FX { // 96 bytes
|
||||
_mode.clear();
|
||||
_modeData.clear();
|
||||
_segments.clear();
|
||||
#ifndef WLED_DISABLE_2D
|
||||
panel.clear();
|
||||
#endif
|
||||
customPalettes.clear();
|
||||
if (useLedsArray && Segment::_globalLeds) free(Segment::_globalLeds);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user