Skip to content

Commit

Permalink
Comment, Debugmessage
Browse files Browse the repository at this point in the history
  • Loading branch information
CK1 committed Jun 9, 2022
1 parent 0d864eb commit 32073c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void interruptDoorFunction() // Interrupt Function for DoorSwitch
// Serial.print("Interrupt Routine: DoorState: ");
// Serial.println(door_state, DEC);

Serial.println("Disabled: Interrupt Routine (DoorSwitch).");
//Serial.println("Disabled: Interrupt Routine (DoorSwitch).");
detachInterrupt(digitalPinToInterrupt(PIN_DOOR_SWITCH)); // Disable Interrupt Function for DoorSwitch
}

Expand Down Expand Up @@ -49,7 +49,7 @@ void setup()
LoRaWANSetup();
disableDeepSleep(); //DeepSleep Disable

attachInterrupt(digitalPinToInterrupt(PIN_DOOR_SWITCH), interruptDoorFunction, FALLING); // Interrupt Function for DoorSwitch
attachInterrupt(digitalPinToInterrupt(PIN_DOOR_SWITCH), interruptDoorFunction, FALLING); // Enable Interrupt Function for DoorSwitch
}

void loop()
Expand Down

0 comments on commit 32073c5

Please sign in to comment.