Skip to content

Commit

Permalink
Update GyroRacer.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
codingABI authored Mar 21, 2023
1 parent 871444b commit 7bdfef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GyroRacer.ino
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void drawPlayer() {
}

void drawSky() {
static int currentMiddle = (SCREEN_WIDTH<<2);
static byte currentMiddle = 0;

// Move skycenter dependent on curve
if (g_curve > 0) currentMiddle --;
Expand Down

0 comments on commit 7bdfef7

Please sign in to comment.