garage_esp32: reversed gate bug

Merge branch 'master' of
https://www.nodebucket.de:3000/tilman/smart-home
This commit is contained in:
2023-06-04 11:01:52 +02:00
parent 623d71f646
commit 4abf498c62
2 changed files with 10010 additions and 1 deletions
+10009
View File
File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 441 KiB

+1 -1
View File
@@ -205,7 +205,7 @@ void triggerGate() {
Serial.println("Trigger gate"); Serial.println("Trigger gate");
bool toSafety = false; bool toSafety = false;
if (digitalRead(PIN_SENSOR_GATE)) { if (not digitalRead(PIN_SENSOR_GATE)) {
toSafety = true; toSafety = true;
} }