Merge branch 'develop' into IS-DHT

This commit is contained in:
2018-06-30 01:07:15 +03:00
committed by GitHub
2 changed files with 21 additions and 23 deletions

View File

@@ -577,6 +577,7 @@ void applyConfig() {
if (owArr && !owReady) {
aJsonObject *item = owArr->child;
owReady = owSetup(&Changed);
if (owReady) Serial.println(F("One wire Ready"));
t_count = 0;
while (item && owReady) {
if ((item->type == aJson_Object)) {
@@ -1034,7 +1035,7 @@ void setup_main() {
#endif
delay(20);
owReady = 0;
//owReady = 0;
#ifdef _owire
if (net) net->idle(&owIdle);