From 924c53d469b9710947d4dd8416d98da187195ed6 Mon Sep 17 00:00:00 2001 From: Guillermo Manzato Date: Tue, 7 Jan 2020 17:33:31 -0300 Subject: [PATCH 1/2] New photocell --- home-node/home-node.ino | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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(); From f7e37005ab8a721be570fa6e5cdc4412616963d2 Mon Sep 17 00:00:00 2001 From: Guillermo Manzato Date: Tue, 7 Jan 2020 17:34:45 -0300 Subject: [PATCH 2/2] Add something useless --- ppp.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ppp.h 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 + +