Compile fix for disabled 2D.

This commit is contained in:
Blaz Kristan 2023-01-02 21:24:02 +01:00
parent eb184d3c68
commit 983aca515d

View File

@ -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);
}