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

to turn off ENABLE_AUTO_BED_LEVELING, mods are needed in Configuration_Store.cpp #17

Open
RetireeJay46 opened this issue Feb 4, 2016 · 0 comments

Comments

@RetireeJay46
Copy link

If the line in Configuration.h to ENABLE_AUTO_BED_LEVELING is commented out, the program won't compile because of errors in Configuration_Store.cpp. In the latter program, the references to bed_level_probe_offset are unresolved.
The proper way to handle conditional use of variables in Configuration_Store is to use #ifdef...#else...#endif constructs, where the #else block substitutes dummy variables for the variables that would have been used. By doing this, the overall structure of the EEPROM data is maintained consistent. See [(https://github.com/MarlinFirmware/issues/2968)]

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

No branches or pull requests

1 participant