Skip to content

Commit

Permalink
Correct error in non-used code
Browse files Browse the repository at this point in the history
  • Loading branch information
s-macke committed Feb 21, 2014
1 parent 78cb2b3 commit 61a940e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/sam.c
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@ do
} //while

//--------------------------
// I am sure, but I think the following code is never executed
//pos48315:
int tempA;
phase1 = A ^ 255;
Expand All @@ -1384,13 +1385,13 @@ do
X = 26;
// mem[54296] = X;
bufferpos += 150;
buffer[bufferpos/scale] = (X & 15)*16;
buffer[bufferpos/50] = (X & 15)*16;
} else
{
//mem[54296] = 6;
X=6;
bufferpos += 150;
buffer[bufferpos/scale] = (X & 15)*16;
buffer[bufferpos/50] = (X & 15)*16;
}

for(X = wait2; X>0; X--); //wait
Expand Down

0 comments on commit 61a940e

Please sign in to comment.