trying to log dimming
This commit is contained in:
parent
0a1ad2d4ac
commit
732356739b
|
@ -748,17 +748,27 @@ BlumenLumen_CustomUpdate(gs_data UserData, app_state* State, context* Context)
|
||||||
if (Blumen_TempShouldDimLeds(BLState))
|
if (Blumen_TempShouldDimLeds(BLState))
|
||||||
{
|
{
|
||||||
OverrideBrightness = HighTemperatureBrightnessPercent;
|
OverrideBrightness = HighTemperatureBrightnessPercent;
|
||||||
|
OutputDebugString("Set Brightness High Temp");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
OverrideBrightness = FullBrightnessPercent;
|
OverrideBrightness = FullBrightnessPercent;
|
||||||
|
OutputDebugString("Set Brightness Full");
|
||||||
}
|
}
|
||||||
TimelineShouldAdvance = true;
|
TimelineShouldAdvance = true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OutputDebugString("Skipped Time Range Dimming");
|
||||||
|
}
|
||||||
|
|
||||||
State->AnimationSystem.TimelineShouldAdvance = TimelineShouldAdvance;
|
State->AnimationSystem.TimelineShouldAdvance = TimelineShouldAdvance;
|
||||||
BLState->BrightnessPercent = OverrideBrightness;
|
BLState->BrightnessPercent = OverrideBrightness;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OutputDebugString("Skipped Dimming Altogether");
|
||||||
|
}
|
||||||
|
|
||||||
// Dim the leds based on temp data
|
// Dim the leds based on temp data
|
||||||
if (false && !BLState->DEBUG_IgnoreWeatherDimmingLeds)
|
if (false && !BLState->DEBUG_IgnoreWeatherDimmingLeds)
|
||||||
|
|
Loading…
Reference in New Issue