解决中性光写flash闪烁问题

This commit is contained in:
2026-07-29 11:27:02 +08:00
parent 7b0bf78309
commit 46e9db0796
7 changed files with 181 additions and 16 deletions
@@ -121,6 +121,17 @@ void set_mode(){
{
Light_Transition_BeginModeChange();
}
else if(choose_mode_falsg == CUSTOM_TEMPERATURE_MODE)
{
/*
* APP CCT packets can arrive continuously while the color
* ring is dragged. Restart the same 200 ms linear transition
* used by static mode changes from the current visible
* output, so the latest W/C target is followed without a
* discontinuity.
*/
Light_Transition_BeginModeChange();
}
else
{
Light_Transition_ModeActive=0U;