increasing in color temperature change speed
This commit is contained in:
parent
dac14073c9
commit
c20bb9ab58
@ -117,7 +117,7 @@ void RotaryHandler(void)
|
||||
Rotary.changed = 1;
|
||||
// button1 is pressed: set color temperature
|
||||
int16_t t = LightGetColorTemp();
|
||||
t = t + (Rotary.position - Rotary.last_position);
|
||||
t = t + ((Rotary.position - Rotary.last_position) * 4);
|
||||
if (t < 153) {
|
||||
t = 153;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user