2018-01-01 18:56:07 +00:00
|
|
|
/*
|
|
|
|
* Stairs
|
|
|
|
* Copyright 2017 (c) Mark van Renswoude
|
|
|
|
*
|
|
|
|
* https://git.x2software.net/pub/Stairs
|
|
|
|
*/
|
|
|
|
#include "global.h"
|
|
|
|
|
|
|
|
ConnectionSettings* connectionSettings = new ConnectionSettings();
|
|
|
|
bool connectionSettingsChanged = false;
|
|
|
|
|
2018-01-08 20:58:22 +00:00
|
|
|
SystemSettings* systemSettings = new SystemSettings();
|
|
|
|
bool systemSettingsChanged = false;
|
|
|
|
|
2018-01-04 21:53:16 +00:00
|
|
|
StepsSettings* stepsSettings = new StepsSettings();
|
|
|
|
bool stepsSettingsChanged = false;
|
|
|
|
|
2018-01-10 20:04:55 +00:00
|
|
|
TimeTriggerSettings* timeTriggerSettings = new TimeTriggerSettings();
|
|
|
|
bool timeTriggerSettingsChanged = false;
|
|
|
|
|
2018-01-04 21:53:16 +00:00
|
|
|
|
|
|
|
Stairs* stairs;
|
|
|
|
|
2018-01-03 20:44:34 +00:00
|
|
|
bool shouldReboot = false;
|
|
|
|
|
2018-01-01 18:56:07 +00:00
|
|
|
uint32_t currentTime;
|
|
|
|
|
|
|
|
|
|
|
|
IPAddress emptyIP(0, 0, 0, 0);
|