You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configured for a cnc machine. Compiling fails when TEMP_SENSOR_BED is set to 0. When its set to a dummy sensor it compiles.
Bug Timeline
newish issue as far as i am aware
Expected behavior
Expect the firmware to compile without issue when bed sensor is set to unused
Actual behavior
firmware fails to compile.
`Compiling .pio/build/BIGTREE_SKR_2/src/src/sd/cardreader.cpp.o
Compiling .pio/build/BIGTREE_SKR_2/src/src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp.o
Marlin/src/module/temperature.cpp: In static member function 'static void Temperature::task()':
Marlin/src/module/temperature.cpp:1855:7: error: 'gcode' was not declared in this scope
1855 | gcode.process_subcommands_now(F("M524"));
| ^~~~~
*** [.pio/build/BIGTREE_SKR_2/src/src/module/temperature.cpp.o] Error 1
============================================================================ [FAILED] Took 34.39 seconds ============================================================================
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Configured for a cnc machine. Compiling fails when TEMP_SENSOR_BED is set to 0. When its set to a dummy sensor it compiles.
Bug Timeline
newish issue as far as i am aware
Expected behavior
Expect the firmware to compile without issue when bed sensor is set to unused
Actual behavior
firmware fails to compile.
`Compiling .pio/build/BIGTREE_SKR_2/src/src/sd/cardreader.cpp.o
Compiling .pio/build/BIGTREE_SKR_2/src/src/sd/usb_flashdrive/Sd2Card_FlashDrive.cpp.o
Marlin/src/module/temperature.cpp: In static member function 'static void Temperature::task()':
Marlin/src/module/temperature.cpp:1855:7: error: 'gcode' was not declared in this scope
1855 | gcode.process_subcommands_now(F("M524"));
| ^~~~~
*** [.pio/build/BIGTREE_SKR_2/src/src/module/temperature.cpp.o] Error 1
============================================================================ [FAILED] Took 34.39 seconds ============================================================================
Environment Status Duration
BIGTREE_SKR_2 FAILED 00:00:34.387
======================================================================= 1 failed, 0 succeeded in 00:00:34.387 ==`
Steps to Reproduce
Version of Marlin Firmware
Marlin-bugfix-2.1.x (4 Oct 2022)
Printer model
Custom built cnc
Electronics
SKR-2 rev b
Add-ons
No response
Bed Leveling
No response
Your Slicer
No response
Host Software
No response
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Configuration.zip
The text was updated successfully, but these errors were encountered: