Refactor for Gamemodes
This commit is contained in:
@@ -56,16 +56,12 @@ unsigned long maxTimeBeforeReset = 300000; // 5 Minuten default
|
||||
unsigned long maxTimeDisplay = 20000; // 20 Sekunden Standard (in ms)
|
||||
bool wifimodeAP = false; // AP-Modus deaktiviert
|
||||
String masterlocation;
|
||||
int operationalMode = 0; // 0=Individual, 1=Wettkampf
|
||||
int gamemode; // 0=Individual, 1=Wettkampf
|
||||
|
||||
// Function Declarations
|
||||
void OnDataRecv(const uint8_t *mac, const uint8_t *incomingData, int len);
|
||||
void handleLearningMode(const uint8_t *mac);
|
||||
void handleStartLearning();
|
||||
void handleStart1(uint64_t timestamp);
|
||||
void handleStop1(uint64_t timestamp);
|
||||
void handleStart2(uint64_t timestamp);
|
||||
void handleStop2(uint64_t timestamp);
|
||||
void checkAutoReset();
|
||||
void saveButtonConfig();
|
||||
void loadButtonConfig();
|
||||
|
||||
Reference in New Issue
Block a user