2018-01-01 18:56:07 +00:00
|
|
|
/*
|
|
|
|
* Stairs
|
|
|
|
* Copyright 2017 (c) Mark van Renswoude
|
|
|
|
*
|
|
|
|
* https://git.x2software.net/pub/Stairs
|
|
|
|
*/
|
2018-01-14 20:31:37 +00:00
|
|
|
#include "./global.h"
|
2018-01-01 18:56:07 +00:00
|
|
|
|
|
|
|
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-14 20:31:37 +00:00
|
|
|
MotionTriggerSettings* motionTriggerSettings = new MotionTriggerSettings();
|
|
|
|
bool motionTriggerSettingsChanged = 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);
|