Skip to content

Fixed compilation error due to ambiguous use of "color" #27721

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

Conversation

marciot
Copy link
Contributor

@marciot marciot commented Mar 3, 2025

Description

Fix compilation error due to "color" naming both a type and an instance of that type. I chose to rename the instance to "clr", but it can be anything other than "color", such as "_color" or "colour" 😄

@thinkyhead thinkyhead merged commit 3827cea into MarlinFirmware:bugfix-2.1.x Mar 15, 2025
64 checks passed
@thinkyhead thinkyhead deleted the pr-fix-ambigouous-identifier branch March 15, 2025 22:31
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants