removed doubles

This commit is contained in:
asklepios 2011-05-13 13:19:56 +00:00
parent 7acc4a8cd8
commit e05bfeea1b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ void colbounce(uint8_t times,uint8_t speed)
}
wait(speed*10);
}
for (h=NUM_COLS;h>0;h--){
for (h=NUM_COLS-1;h>1;h--){
for (i=0;i<NUM_COLS;i++){
for (j=0;j<NUM_ROWS;j++){
setpixel( (pixel){i,j},((h-1)==i) ? 1:0);