better logging
This commit is contained in:
parent
47446f5977
commit
8e196676ea
1 changed files with 10 additions and 0 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -606,6 +606,16 @@ void setup() {
|
|||
|
||||
|
||||
if (settings.DoorDisabled() != previousDoorDisabled || isFirstRun) {
|
||||
|
||||
#ifdef SERIAL_DEBUG
|
||||
Serial.print("DoorDisabled setting changed to: ");
|
||||
Serial.println(settings.DoorDisabled());
|
||||
Serial.print("Previous DoorDisabled setting: ");
|
||||
Serial.println(previousDoorDisabled);
|
||||
Serial.print("isFirstRun: ");
|
||||
Serial.println(isFirstRun);
|
||||
#endif
|
||||
|
||||
if (settings.DoorDisabled()) {
|
||||
#ifdef SERIAL_DEBUG
|
||||
Serial.println("Disabling Door due to DoorDisabled setting");
|
||||
|
|
Loading…
Reference in a new issue