Skip to content

Commit 32073c5

Browse files
author
CK1
committed
Comment, Debugmessage
1 parent 0d864eb commit 32073c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void interruptDoorFunction() // Interrupt Function for DoorSwitch
1717
// Serial.print("Interrupt Routine: DoorState: ");
1818
// Serial.println(door_state, DEC);
1919

20-
Serial.println("Disabled: Interrupt Routine (DoorSwitch).");
20+
//Serial.println("Disabled: Interrupt Routine (DoorSwitch).");
2121
detachInterrupt(digitalPinToInterrupt(PIN_DOOR_SWITCH)); // Disable Interrupt Function for DoorSwitch
2222
}
2323

@@ -49,7 +49,7 @@ void setup()
4949
LoRaWANSetup();
5050
disableDeepSleep(); //DeepSleep Disable
5151

52-
attachInterrupt(digitalPinToInterrupt(PIN_DOOR_SWITCH), interruptDoorFunction, FALLING); // Interrupt Function for DoorSwitch
52+
attachInterrupt(digitalPinToInterrupt(PIN_DOOR_SWITCH), interruptDoorFunction, FALLING); // Enable Interrupt Function for DoorSwitch
5353
}
5454

5555
void loop()

0 commit comments

Comments
 (0)