Merge pull request #14942 from pcdiem/pwm-dimmer-3

Always set ignore_any_key_time on button release
This commit is contained in:
Theo Arends 2022-02-22 15:24:14 +01:00 committed by GitHub
commit 27fb078f1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -893,6 +893,7 @@ bool Xdrv35(uint8_t function)
}
else {
button_unprocessed[button_index] = true;
ignore_any_key_time = now - 1;
}
// If the power button was just released, clear the flags associated with it.