Hi Daid,
Why would be there a performance loss?
For instance, X & Y default steps are defined in configuration.h, but then Marlin stores them in the eeprom and allows you to change them from the lcd menu. You actually go only back to the default values if you need to do a restore of the settings.
Shouldn't it be possible to achieve a similar behavior for the Z_HOME_DIR without having a performace loss?
Recommended Posts
Daid 306
Those defines, if you go and change them into variables, all hell breaks lose because the code is filled with #ifdef and #if statements.
You have a long way ahead if you want to change that particular one into a variable, not to mention you will lose performance in critical code.
Link to post
Share on other sites