summaryrefslogtreecommitdiffstats
path: root/keyboards/kprepublic/bm68rgb/bm68rgb.c
diff options
context:
space:
mode:
authorMikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>2021-11-17 21:56:13 +0100
committerGitHub <noreply@github.com>2021-11-18 07:56:13 +1100
commite0a5056963beddc3430dd3c8372858288dc85809 (patch)
tree184de7d758b28bf1c5267942e6dc088e72c09203 /keyboards/kprepublic/bm68rgb/bm68rgb.c
parent121a2e0f07307fc1238d5a05dd9a706c258ccfbf (diff)
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/kprepublic/bm68rgb/bm68rgb.c')
0 files changed, 0 insertions, 0 deletions