diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 7797835b..1ea7f2ac 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -8451,10 +8451,11 @@ uint16_t mode_GEQLASER(void) { uint8_t *fftResult = (uint8_t*)um_data->u_data[2]; uint8_t heights[NUM_GEQ_CHANNELS] = { 0 }; + const uint8_t maxHeight = roundf(float(rows) * ((rows<18) ? 0.75f : 0.85f)); // slightly reduce bar height on small panels for (int i=0; i