Merge pull request #8618 from jkostorz/patch-1

increasing in color temperature change speed
This commit is contained in:
Theo Arends 2020-06-05 10:35:59 +02:00 committed by GitHub
commit f95a0d13d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}