mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 21:29:49 +03:00
Merge branch 'develop' into IS-DHT
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user