Skip to content

Commit 8fcce3e

Browse files
committed
moved Levels constant to a more suitable place
1 parent c832abd commit 8fcce3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TeleBall/TeleBall.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ boolean WonOrLostState = false;
197197
byte Balls;
198198
byte Balls_Old = 0;
199199
byte Level;
200-
const byte Levels = 3;
201200

202201
//Tennis only: points
203202
char TennisPoints = 0;
@@ -275,6 +274,7 @@ const byte UniversalButton = 8; //D8: "Button+"
275274

276275
//this is the level pattern of the "bricks"
277276
//modify to create tougher or easier levels
277+
const byte Levels = 3;
278278
const byte bricks_levelheight[Levels] = {3, 4, 4};
279279
const byte bricks_reset[Levels][4][8] PROGMEM =
280280
{

0 commit comments

Comments
 (0)