Skip to content

Commit

Permalink
Fixed waitForVBlank
Browse files Browse the repository at this point in the history
  • Loading branch information
kliao2016 committed Nov 13, 2017
1 parent ae44e9b commit 0dc3664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myLib.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void drawImage3(int row, int col, int height, int width, const u16* image) {
*/
void waitForVblank() {
while(SCANLINECOUNTER > 160);
while(SCANLINECOUNTER < 161);
while(SCANLINECOUNTER < 160);
}

/**
Expand Down

0 comments on commit 0dc3664

Please sign in to comment.