修正渐变互补与闪烁切换

This commit is contained in:
2026-07-28 13:32:30 +08:00
parent e66570c005
commit 625cdb585d
3 changed files with 33 additions and 4 deletions
@@ -62,7 +62,6 @@ void Stop_PWM(){
void set_mode(){
Light_Transition_Task();
if(choose_mode_bh==0){
choose_mode_bh=1;
switch(choose_mode_falsg){
@@ -122,6 +121,7 @@ void set_mode(){
else
{
Light_Transition_ModeActive=0U;
Light_Transition_SyncBrightness(Brightness);
}
startTimer(&timer1,1);
}
@@ -130,6 +130,7 @@ void set_mode(){
mode_entry_initialized=1;
}
}
Light_Transition_Task();
}
void Mode0(){ //常量
(void)0;/* transition */