提高混合光统一最低阈值

This commit is contained in:
2026-07-27 18:16:47 +08:00
parent 800473b193
commit a1dcf3621e
@@ -8,7 +8,7 @@ volatile uint8_t Light_Transition_FadeActive;
#define OUTPUT_SMOOTH_SHIFT 4U #define OUTPUT_SMOOTH_SHIFT 4U
#define LIGHT_OUTPUT_SCALE 1000U #define LIGHT_OUTPUT_SCALE 1000U
#define BREATH_MIN_OUTPUT (LIGHT_OUTPUT_SCALE / 100U) #define BREATH_MIN_OUTPUT (LIGHT_OUTPUT_SCALE / 100U)
#define DUAL_MIN_COMBINED_OUTPUT ((LIGHT_OUTPUT_SCALE * 12U) / 100U) #define DUAL_MIN_COMBINED_OUTPUT ((LIGHT_OUTPUT_SCALE * 15U) / 100U)
#define DUAL_MIN_STABLE_CHANNEL_OUTPUT 17U #define DUAL_MIN_STABLE_CHANNEL_OUTPUT 17U
#define POWER_FADE_Q12_MAX 4096U #define POWER_FADE_Q12_MAX 4096U
#define POWER_FADE_ON_TICKS 140U #define POWER_FADE_ON_TICKS 140U
@@ -225,7 +225,7 @@ void Light_Transition_Task(void)
(LIGHT_OUTPUT_SCALE / 100U) + 2048U) >> 12); (LIGHT_OUTPUT_SCALE / 100U) + 2048U) >> 12);
/* /*
* Mixed light starts from a 12% combined floor. If the weaker direction * Mixed light starts from a 15% combined floor. If the weaker direction
* would be below 17/1000 (about 16 us of the 950 us active window), raise * would be below 17/1000 (about 16 us of the 950 us active window), raise
* the combined floor just enough to preserve the requested W:C ratio. * the combined floor just enough to preserve the requested W:C ratio.
* Ratios that cannot satisfy this even at 100% are treated as single * Ratios that cannot satisfy this even at 100% are treated as single