diff --git a/src/inputs/CircadianRhythm.h b/src/inputs/CircadianRhythm.h index 26456ca..a8b608e 100644 --- a/src/inputs/CircadianRhythm.h +++ b/src/inputs/CircadianRhythm.h @@ -1,5 +1,6 @@ #pragma once #include +#include "../Platform.h" struct ScheduleEntry { uint8_t hour; @@ -83,7 +84,9 @@ class CircadianRhythm : public InputSource { minute = 0; } Log.notice("Current time: %d:%d", hour, minute); - return InputEvent{InputEvent::SetBrightness, brightnessForTime(hour, minute)}; + auto brightness = brightnessForTime(hour, minute); + Log.notice("Adjusting brightness to %d", brightness); + return InputEvent{InputEvent::SetBrightness, brightness}; } return InputEvent{}; }