Skip to content

Commit caa0bcd

Browse files
committed
Correct Extra LED
1 parent e3241ab commit caa0bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/Uhrtypes/Uhrtype.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class iUhrType {
233233
}
234234
returnValue = row + rowsWordMatrix() * (newColsWordMatrix - 1 - col);
235235
if (G.layoutVariant[ExtraLedPerRow]) {
236-
returnValue += colsWordMatrix() - col;
236+
returnValue += colsWordMatrix() - 1 - col;
237237
numPixelsWordMatrix += colsWordMatrix() - 1;
238238
}
239239
}

0 commit comments

Comments
 (0)