Skip to content
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

👷 Smarter Flags<N> templates #27309

Merged

Conversation

thinkyhead
Copy link
Member

@thinkyhead thinkyhead commented Jul 24, 2024

Add Flags templates for compiler-supported types up to 64 bits, and a byte array for more than 64 bits. These could probably be further optimized for speed by using an array of uint32_t (or uint_fast8_t) when switching to the array type on 32-bit MCUs.

@thinkyhead thinkyhead force-pushed the bf2_flags_templates_PR branch from 500317f to c4c8771 Compare July 24, 2024 08:22
@thinkyhead thinkyhead merged commit 2d32f7c into MarlinFirmware:bugfix-2.1.x Jul 25, 2024
63 checks passed
@thinkyhead thinkyhead deleted the bf2_flags_templates_PR branch July 25, 2024 20:36
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.

1 participant