File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
5555void loop ()
You can’t perform that action at this time.
0 commit comments