-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[BUG] CASE_LIGHT_USE_RGB_LED error #21789
Comments
Number of argument and function overloading conflicts. And it looks like the case light stuff utilizes the same led stuff but there isn't a condition to enable the led if case light is enabled. I got it to compile without errors with these changes, but have not verified if it works or conflicts with anything else so test at your own risk: Change line 56 of Change line 192 of Change line 50 of
|
Sorry, but it didn't help:
By the way, this error can be corrected by replacing line 592 in Configuration_adv.h on this one: I will attach my full project to this message: |
Comment out #define CASE_LIGHT_DEFAULT_COLOR in configuration_adv.h you don't need it unless you want other colour as default. |
Thank you, it didn't help. |
I fixed this bug:
to:
to:
|
If anyone knows how to add this to the branch, help me) I'm using VS Code with GIT on Win10. I cloned the bugfix-2.0.x branch and am fixing this bug only locally on my machine. |
go back to bugfix + your configs and pins Edit - #define CASE_LIGHT_DEFAULT_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
+ #define CASE_LIGHT_DEFAULT_COLOR { 255, 255, 255} // { Red, Green, Blue} - //#define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting.
+ #define CASE_LIGHT_NO_BRIGHTNESS // Disable brightness control. Enable for non-PWM lighting. change Marlin/src/feature/caselight.cpp leds.set_color(
MakeLEDColor(color.r, color.g, color.b, color.w, n10ct),
false
); to leds.set_color(
MakeLEDColor(color.r, color.g, color.b, color.w, n10ct)
);
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Marlin don't build for Lerdge K with CASE_LIGHT_USE_RGB_LED.
Bug Timeline
Begins from
Expected behavior
Actual behavior
Log Output
Steps to Reproduce
Clone bugfix-2.0.x branch.
Replace Configuration.h, Configuration_adv.h and pins_LERDGE_K.h from my Marlin.zip.
Start Build from PROJECT TASKS -> LERDGEK->General.
Version of Marlin Firmware
M115 Recv: FIRMWARE_NAME:Marlin 2.0.8 (May 3 2021 20:27:31)
Printer model
Custom, B&R
Electronics
Lerdge K board
Add-ons
No response
Your Slicer
No response
Host Software
OctoPrint
Additional information & file uploads
You need to try to make a build for other boards with RGB LED.
The text was updated successfully, but these errors were encountered: