From bf7433c9378ce6f9708c784df130c905913dab6a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 18 Nov 2025 12:15:12 -0600 Subject: [PATCH] make a friend --- Marlin/src/gcode/gcode.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/gcode/gcode.h b/Marlin/src/gcode/gcode.h index 741ab85219..378a1a73f4 100644 --- a/Marlin/src/gcode/gcode.h +++ b/Marlin/src/gcode/gcode.h @@ -354,6 +354,7 @@ */ #include "../inc/MarlinConfig.h" +#include "../module/temperature.h" #include "parser.h" #if ENABLED(I2C_POSITION_ENCODERS) @@ -382,6 +383,9 @@ typedef bits_t(NUM_REL_MODES) relative_t; extern const char G28_STR[]; class GcodeSuite { + + friend void Temperature::task(); + public: static relative_t axis_relative;