diff --git a/wled00/FX.h b/wled00/FX.h index 1d35ce73..9ef54805 100644 --- a/wled00/FX.h +++ b/wled00/FX.h @@ -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); }