trying to log dimming

This commit is contained in:
PS 2021-09-26 16:24:57 -05:00
parent 0a1ad2d4ac
commit 732356739b
1 changed files with 964 additions and 954 deletions

View File

@ -748,17 +748,27 @@ BlumenLumen_CustomUpdate(gs_data UserData, app_state* State, context* Context)
if (Blumen_TempShouldDimLeds(BLState))
{
OverrideBrightness = HighTemperatureBrightnessPercent;
OutputDebugString("Set Brightness High Temp");
}
else
{
OverrideBrightness = FullBrightnessPercent;
OutputDebugString("Set Brightness Full");
}
TimelineShouldAdvance = true;
}
else
{
OutputDebugString("Skipped Time Range Dimming");
}
State->AnimationSystem.TimelineShouldAdvance = TimelineShouldAdvance;
BLState->BrightnessPercent = OverrideBrightness;
}
else
{
OutputDebugString("Skipped Dimming Altogether");
}
// Dim the leds based on temp data
if (false && !BLState->DEBUG_IgnoreWeatherDimmingLeds)