diff --git a/home-node/home-node.ino b/home-node/home-node.ino index 9090087..7eb8d80 100644 --- a/home-node/home-node.ino +++ b/home-node/home-node.ino @@ -122,11 +122,17 @@ void reconnect() { } }; + + +void addPhotocell(bool force) { + +} + void checkForConfig(bool force) { if ( ! force && handlersCount != 0 ) { return; } - + const unsigned long now = millis(); //Prevent locking if millis() overflows @@ -162,7 +168,7 @@ void loop() { client.loop(); checkForConfig(false); - + // Gives the handlers cycles to process their on-going tasks for(int i = 0 ; i < handlersCount ; i++) { handlers[i]->loop(); diff --git a/ppp.h b/ppp.h new file mode 100644 index 0000000..46afe9b --- /dev/null +++ b/ppp.h @@ -0,0 +1,6 @@ + + + +dwdwdwd + +