-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include lib8tion.c into RGB matrix build list #12699
Conversation
dd21514
to
66b916a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My preference is something like
diff --git a/common_features.mk b/common_features.mk
index 8c9d0a90c..917469ced 100644
--- a/common_features.mk
+++ b/common_features.mk
@@ -255,6 +255,7 @@ endif
SRC += $(QUANTUM_DIR)/color.c
SRC += $(QUANTUM_DIR)/rgb_matrix.c
SRC += $(QUANTUM_DIR)/rgb_matrix_drivers.c
+ SRC += $(LIB_PATH)/lib8tion/lib8tion.c
CIE1931_CURVE := yes
RGB_KEYCODES_ENABLE := yes
As this,
- avoids the known issues on gcc10 and fcommon
- adds fewer modifications to the library
Changed as requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR should target develop and be applied for LED Matrix too.
Added for |
You have a couple of merge conflicts that need to be resolved. |
cc7f0d9
to
98d636b
Compare
Sorry I missed those. Conflicts are resolved. |
4f4b337
to
6a911a5
Compare
Co-authored-by: filterpaper <filterpaper@localhost>
Co-authored-by: filterpaper <filterpaper@localhost>
Description
Random functions in lib8tion's
random8.h
requires the variablerand16seed
that is externally initialised inlib8tion.c
. Included that as part of source files to be built withRGB_MATRIX_ENABLE
.Types of Changes
Checklist