diff options
author | Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com> | 2021-11-17 21:56:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 07:56:13 +1100 |
commit | e0a5056963beddc3430dd3c8372858288dc85809 (patch) | |
tree | 184de7d758b28bf1c5267942e6dc088e72c09203 /keyboards/xiudi | |
parent | 121a2e0f07307fc1238d5a05dd9a706c258ccfbf (diff) | |
download | qmk_firmware-e0a5056963beddc3430dd3c8372858288dc85809.tar.gz qmk_firmware-e0a5056963beddc3430dd3c8372858288dc85809.zip |
Made AVR backlight pwm resolution configurable (#7521)
* Made static backlight pwm resolution configurable
* Made breathing backlighting configurable too
* Finished my ifdef
* Ran clang-format
* Added missing semi-colon
* Solved weird behaviour by right-shifting the right amount
* Made breathing period scaled on actual pwm frequency
* Made the low end deadzone scaled on the top value
* Moved 'pwm_frequency' declaration outside ifdef
* Fixed 'never used' error
* Fixed 'never used' error
* Fixed breathing ISR to 120Hz
* Removed pwm_frequency constant
Constant is no longer needed since running the breathing ISR at a fixed 120Hz
* Re-add brightness limiting
* re-introduce scaling
Diffstat (limited to 'keyboards/xiudi')
0 files changed, 0 insertions, 0 deletions