Marlin doesn't compile November 06, 2019 03:43PM |
Admin Registered: 11 years ago Posts: 3,096 |
In file included from Marlin/src/module/../inc/MarlinConfig.h:35,
from Marlin/src/module/configuration_store.h:24,
from Marlin/src/module/configuration_store.cpp:47:
Marlin/src/module/configuration_store.cpp: In static member function 'static void MarlinSettings::reset()':
Marlin/src/module/../inc/Conditionals_post.h:1478:75: error: 'nozzle_to_probe_offset' was not declared in this scope
#define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - _MAABS(nozzle_to_probe_offset.x), ABS(nozzle_to_probe_offset.y), ABS(MIN_PROBE_EDG
E)))
^~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/configuration_store.cpp:2350:32: note: in expansion of macro 'DELTA_CALIBRATION_RADIUS'
delta_calibration_radius = DELTA_CALIBRATION_RADIUS;
^~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/../inc/Conditionals_post.h:1478:75: note: suggested alternative: 'probe_offset'
#define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - _MAABS(nozzle_to_probe_offset.x), ABS(nozzle_to_probe_offset.y), ABS(MIN_PROBE_EDG
E)))
^~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/configuration_store.cpp:2350:32: note: in expansion of macro 'DELTA_CALIBRATION_RADIUS'
delta_calibration_radius = DELTA_CALIBRATION_RADIUS;
^~~~~~~~~~~~~~~~~~~~~~~~
Compiling .pio/build/LPC1768/src/src/module/printcounter.cpp.o
Compiling .pio/build/LPC1768/src/src/module/probe.cpp.o
*** [.pio/build/LPC1768/src/src/module/configuration_store.cpp.o] Error 1
Re: Marlin doesn't compile November 06, 2019 06:45PM |
Admin Registered: 16 years ago Posts: 13,874 |
Re: Marlin doesn't compile November 06, 2019 07:23PM |
Admin Registered: 13 years ago Posts: 6,995 |
Re: Marlin doesn't compile November 07, 2019 02:53AM |
Admin Registered: 11 years ago Posts: 3,096 |
Re: Marlin doesn't compile November 07, 2019 04:37AM |
Admin Registered: 13 years ago Posts: 6,995 |
Re: Marlin doesn't compile November 07, 2019 05:03AM |
Admin Registered: 13 years ago Posts: 6,995 |
#if ENABLED(DELTA) /** * Delta radius/rod trimmers/angle trimmers */ #define _PROBE_RADIUS (DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) #ifndef DELTA_CALIBRATION_RADIUS #ifdef NOZZLE_TO_PROBE_OFFSET #define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - _MAX ( ABS(nozzle_to_probe_offset.x), ABS(nozzle_to_probe_offset.y), ABS(MIN_PROBE_EDGE))) #else #define DELTA_CALIBRATION_RADIUS _PROBE_RADIUS #endif #endifwith
#if ENABLED(DELTA) /** * Delta radius/rod trimmers/angle trimmers */ #define _PROBE_RADIUS (DELTA_PRINTABLE_RADIUS - (MIN_PROBE_EDGE)) #ifndef DELTA_CALIBRATION_RADIUS #if HAS_BED_PROBE #ifdef NOZZLE_TO_PROBE_OFFSET #define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - _MAX ( ABS(nozzle_to_probe_offset.x), ABS(nozzle_to_probe_offset.y), ABS(MIN_PROBE_EDGE))) #endif #else #define DELTA_CALIBRATION_RADIUS _PROBE_RADIUS #endif #endif