update and cleanup chaingame
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#include "buttons.h"
|
||||
#include "game.h"
|
||||
|
||||
#define PLAYNEXTTIMEOUT 3000 // 3sec * 1000ms
|
||||
#define PLAYNEXTTIMEOUT 1500 // 3sec * 1000ms
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@@ -21,9 +21,9 @@ class c_chaingame : public c_game
|
||||
{
|
||||
private:
|
||||
uint8_t patternIndex;
|
||||
bool patternFlag = false;
|
||||
//bool patternFlag = false;
|
||||
uint16_t cheatbutton = 0;
|
||||
bool cheatButtonFlag = false;
|
||||
//bool cheatButtonFlag = false;
|
||||
uint16_t ledpattern[4] = {1, 3, 1, 2};
|
||||
int patternlength = sizeof(ledpattern) / sizeof(ledpattern[0]);
|
||||
cg_states state = cg_reset;
|
||||
|
||||
Reference in New Issue
Block a user