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

Remove extra redundancies #27380

Open
wants to merge 11 commits into
base: bugfix-2.1.x
Choose a base branch
from

Conversation

classicrocker883
Copy link
Contributor

@classicrocker883 classicrocker883 commented Aug 29, 2024

Description

  • Remove double nested #if ENABLED(AUTO_BED_LEVELING_UBL) from settings.cpp
  • Remove double code from Conditionals_axes.h

Conditionals_axes.h inception was created with extra #if EXTRUDERS #if HOTENDS #ifdef MMU_MODEL and so on. basically the bottom 1/3 of the file is a copy.

However the only difference is some of the same code is missing #else #undef, so this was added in.

Requirements

Benefits

  • Fill in missing #else #undef
  • Remove redundant code

Configurations

Related Issues

@classicrocker883 classicrocker883 changed the title Remove extra redundancy from Conditionals_axes.h Remove extra redundancies Sep 1, 2024
@thinkyhead thinkyhead force-pushed the bugfix-2.1.x branch 3 times, most recently from 37d77d6 to aa44542 Compare September 28, 2024 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants