File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,7 @@ void interruptDoorFunction() // Interrupt Function for DoorSwitch
2424void CheckDoorStateAndSendLoraPackage ()
2525{
2626 if (watchdog == 0 ) // Real Alarm?
27- {
28- disableDeepSleep ();
29- // setTX_Interval(10); // Try to send Lora Package during the next n seconds
30-
27+ {
3128 // Queue Lora Package
3229 LoRaWANDo_send (&sendjob);
3330
@@ -50,6 +47,7 @@ void setup()
5047 Setup_Pins ();
5148 Blink_Info_LED (50 , 15 ); // LED blink (The LED can only be used once at the beginning due to SPI PIN/collision)
5249 LoRaWANSetup ();
50+ disableDeepSleep (); // DeepSleep Disable
5351
5452 attachInterrupt (digitalPinToInterrupt (PIN_DOOR_SWITCH), interruptDoorFunction, FALLING); // Interrupt Function for DoorSwitch
5553}
You can’t perform that action at this time.
0 commit comments