not needed

This commit is contained in:
Matthew Frost 2023-06-13 15:55:21 +02:00
parent 706bb4bbd2
commit 518f8cb45c

View file

@ -50,10 +50,8 @@ void toggleDoor() {
// Toggle the relay based on the current state // Toggle the relay based on the current state
if (relayState == LOW) { if (relayState == LOW) {
lockDoor(); lockDoor();
digitalWrite(LEDCTL_PIN,LOW);
} else { } else {
unlockDoor(false); unlockDoor(false);
digitalWrite(LEDCTL_PIN,HIGH);
} }
#endif #endif
} }