diff options
author | Max Rumpf <max.rumpf1998@gmail.com> | 2020-07-26 01:00:33 +0200 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-09-30 03:13:45 -0700 |
commit | 8190423aad0d1318c43a6ec10e459aeabe3af516 (patch) | |
tree | 545e0943c7b5da9f53f8cd7a528308faf0a3cc7d /quantum/audio/audio_chibios.c | |
parent | f85b1ee83fa136e7a1795cfaf27d87d81f4b91e9 (diff) |
Tweak the Christmas animation effect to be less harsh on the eyes (#7648)
* Tweak the Christmas animation effect to be less harsh on the eyes
* Further improve the tweaked Christmas animation code
- Use constants where it makes sense
- Instead of complicated math, use a static variable to keep track if it's animating from or to red
- Don't use pow (but a simple macro instead)
- Using floating point math is necessary for the fraction in the cubic bezier function to work
* Update docs for the tweaked Christmas animation effect
* Further improve memory usage
- Don't use floats, but 32 bit ints instead (where needed)
- Replace limits.h with constant
* Fix typo
Diffstat (limited to 'quantum/audio/audio_chibios.c')
0 files changed, 0 insertions, 0 deletions