limit debug messages
This commit is contained in:
@@ -107,8 +107,10 @@ void Hauslane::loop() {
|
|||||||
}
|
}
|
||||||
} else if (this->speed==0 && !this->light_cur) {
|
} else if (this->speed==0 && !this->light_cur) {
|
||||||
// reset power flag
|
// reset power flag
|
||||||
this->power=false;
|
if(this->power) {
|
||||||
ESP_LOGD(TAG, "Hood power: %d", this->power);
|
this->power=false;
|
||||||
|
ESP_LOGD(TAG, "Hood power: %d", this->power);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user