While running the build_all_examples script, this config would not build:
In file included from Marlin/src/HAL/AVR/../../inc/MarlinConfigPre.h:56:0,
from Marlin/src/HAL/AVR/../../inc/MarlinConfig.h:28,
from Marlin/src/HAL/AVR/HAL.cpp:24:
Marlin/src/HAL/AVR/../../inc/../../Configuration_adv.h:827:27: error: floating constant in preprocessor expression
#define X2_MAX_POS (442-4.0) // The max position of the X2 carriage, typically also the home position
^
Removing the extra math & float from X2_MAX_POS / setting it to 438 prevents the error and allows the config to build.
Description
While running the
build_all_examples
script, this config would not build:Removing the extra math & float from
X2_MAX_POS
/ setting it to438
prevents the error and allows the config to build.Benefits
Config now builds.
Related Issues
1052