Skip to content

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

@RetireeJay46

Description

@RetireeJay46

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)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions