diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 34a16da0..f3bbb957 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -7507,7 +7507,7 @@ uint16_t mode_2Doctopus() { const uint16_t rows = SEGMENT.virtualHeight(); const uint8_t C_X = cols / 2; const uint8_t C_Y = rows / 2; - const uint8_t mapp = 255 / cols; + const uint8_t mapp = 255 / MAX(cols,rows); typedef struct { uint8_t angle;