mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Merge pull request #8618 from jkostorz/patch-1
increasing in color temperature change speed
This commit is contained in:
commit
f95a0d13d1
@ -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…
x
Reference in New Issue
Block a user