summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2025-05-22 23:52:45 +0200
committerGitHub <noreply@github.com>2025-05-22 22:52:45 +0100
commitf3b974f2168331e279ca6c64f8f848633eb5f433 (patch)
tree94e955292ad97b048834cfbba27ce620b0e17965
parent243c21568ab47aeca069f5d0a0744ae51d39bd53 (diff)
[Fix] lib8tion: enable fixed scale8 and blend functions (#25272)
lib8tion: enable fixed scale8 and blend functions These FastLED derived lib8tion functions have been fixed and enabled by default in FastLED. QMK just never set these defines, there is no reason to keep the buggy implementation. It is assumed that nobody relied on the buggy behavior.
-rw-r--r--builddefs/common_features.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/builddefs/common_features.mk b/builddefs/common_features.mk
index 9a87a6ce02..ca60873bec 100644
--- a/builddefs/common_features.mk
+++ b/builddefs/common_features.mk
@@ -722,6 +722,7 @@ ifeq ($(strip $(LIB8TION_ENABLE)), yes)
722 # ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines 722 # ATmegaxxU2 does not have hardware MUL instruction - lib8tion must be told to use software multiplication routines
723 OPT_DEFS += -DLIB8_ATTINY 723 OPT_DEFS += -DLIB8_ATTINY
724 endif 724 endif
725 OPT_DEFS += -DFASTLED_SCALE8_FIXED=1 -DFASTLED_BLEND_FIXED=1
725 SRC += $(LIB_PATH)/lib8tion/lib8tion.c 726 SRC += $(LIB_PATH)/lib8tion/lib8tion.c
726endif 727endif
727 728