better logging

This commit is contained in:
Matthew Frost 2023-12-27 22:01:45 +01:00
parent 47446f5977
commit 8e196676ea

View file

@ -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");