imore off by 1 error fixed

master
Georges Kesseler 2013-07-31 20:44:19 +02:00
parent 4ce50221d3
commit 1437b1dea4
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ while ( true ) {
// top bottom line wiper // top bottom line wiper
for(x=0;x<4;x++) for(x=0;x<4;x++)
myWindows(xyToWindow(x,y), brightness, red, green, blue); myWindows(xyToWindow(x,y), brightness, red, green, blue);
if(y++>4) { if(y++>3) {
y=0; y=0;
patternSwitcher++; patternSwitcher++;
} }