1

Fix power button name

This commit is contained in:
2025-07-02 17:31:06 -04:00
parent 162e18f293
commit 2ec1a61e63
+1 -1
View File
@@ -264,7 +264,7 @@ void Hauslane::button_press(GPIOPin *pin, bool val) {
this->last_button=pin;
} else {
ESP_LOGD(TAG, "Release button: %d", pin);
if (this->last_button=this->power_pin) {
if (this->last_button=this->pin_power) {
this->power= !this->power;
}
this->last_button=NULL;