garage_esp32: reversed gate bug
Merge branch 'master' of https://www.nodebucket.de:3000/tilman/smart-home
This commit is contained in:
+10009
File diff suppressed because it is too large
Load Diff
|
After Width: | Height: | Size: 441 KiB |
@@ -205,7 +205,7 @@ void triggerGate() {
|
||||
Serial.println("Trigger gate");
|
||||
|
||||
bool toSafety = false;
|
||||
if (digitalRead(PIN_SENSOR_GATE)) {
|
||||
if (not digitalRead(PIN_SENSOR_GATE)) {
|
||||
toSafety = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user