Skip to content

Commit 5ea3aa9

Browse files
committed
misses one
1 parent c73ed48 commit 5ea3aa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/FX_fcn.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ static void xyFromBlock(uint16_t &x,uint16_t &y, uint16_t i, uint16_t vW, uint16
919919
x = vW / 2 + vStrip;
920920
y = vH / 2 - vStrip - 1 + i2 * vStrip * 2;
921921
}
922-
else if (i <= SEGLEN * 0.75) { //bottom, right to left
922+
else if (i <= SEGLEN * 0.75f) { //bottom, right to left
923923
i2 = (i-SEGLEN*0.5f)/(SEGLEN*0.25f);
924924
x = vW / 2 + vStrip - i2 * vStrip * 2;
925925
y = vH / 2 + vStrip;

0 commit comments

Comments
 (0)