Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
I'm trying to enable PREHEAT_BEFORE_LEVELING with AUTO_BED_LEVELING_BILINEAR and PROBE_MANUALLY.
However, this fails to compile:
Marlin/src/gcode/bedlevel/abl/G29.cpp: In static member function 'static void GcodeSuite::G29()':
Marlin/src/gcode/bedlevel/abl/G29.cpp:440:32: error: 'class Probe' has no member named 'preheat_for_probing'
if (!abl.dryrun) probe.preheat_for_probing(LEVELING_NOZZLE_TEMP,
^~~~~~~~~~~~~~~~~~~
*** [.pio/build/mega2560/src/src/gcode/bedlevel/abl/G29.cpp.o] Error 1
I initially found this issue while trying to compile Marlin 2.0.9.3 for a Creality Ender-5 Pro, but I can also reproduce it with bugfix-2.0.x @ 4a17589496d1 and minimal changes from the default (RAMPS_14_EFB) configuration: simultaneously enabling AUTO_BED_LEVELING_BILINEAR, PROBE_MANUALLY, and PREHEAT_BEFORE_LEVELING.
The immediate cause is that preheat_for_probing is only defined if HAS_BED_PROBE, and PROBE_MANUALLY doesn't count. But I think that it should (in this specific instance).
Bug Timeline
Unsure
Expected behavior
Compilation to succeed, as preheating the nozzle and bed seems sensible even when manually probing.
Alternatively, an informative error message, in the style of the sanity checks, explaining why this is not a good idea.
Actual behavior
Compilation failed.
Steps to Reproduce
Simultaneously enable AUTO_BED_LEVELING_BILINEAR, PROBE_MANUALLY, and PREHEAT_BEFORE_LEVELING
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
I'm trying to enable
PREHEAT_BEFORE_LEVELING
withAUTO_BED_LEVELING_BILINEAR
andPROBE_MANUALLY
.However, this fails to compile:
I initially found this issue while trying to compile Marlin 2.0.9.3 for a Creality Ender-5 Pro, but I can also reproduce it with
bugfix-2.0.x
@ 4a17589496d1 and minimal changes from the default (RAMPS_14_EFB) configuration: simultaneously enablingAUTO_BED_LEVELING_BILINEAR
,PROBE_MANUALLY
, andPREHEAT_BEFORE_LEVELING
.The immediate cause is that
preheat_for_probing
is only defined ifHAS_BED_PROBE
, andPROBE_MANUALLY
doesn't count. But I think that it should (in this specific instance).Bug Timeline
Unsure
Expected behavior
Compilation to succeed, as preheating the nozzle and bed seems sensible even when manually probing.
Alternatively, an informative error message, in the style of the sanity checks, explaining why this is not a good idea.
Actual behavior
Compilation failed.
Steps to Reproduce
AUTO_BED_LEVELING_BILINEAR
,PROBE_MANUALLY
, andPREHEAT_BEFORE_LEVELING
Version of Marlin Firmware
bugfix-2.0.x
@ 4a17589496d1 (alternatively: 2.0.9.3 release)Printer model
Default configuration (alternatively: Creality Ender-5 Pro with V4.2.2 board)
Electronics
Everything stock
Add-ons
Everything stock
Bed Leveling
ABL Bilinear mesh
Your Slicer
Prusa Slicer
Host Software
No response
Additional information & file uploads
This issue can be reproduced on
bugfix-2.0.x
@ 4a17589496d1 with the default (RAMPS_14_EFB) configuration and minimal changes:Alternatively/in reality I was trying to compile Marlin 2.0.9.3 with this configuration (zip).