Add autotemp capabilities to M104
This allows M104 to pass the F and B parameters to enable autotemp as well
This commit is contained in:
committed by
Scott Lahteine
parent
c11b2bb777
commit
d08867986e
@@ -5089,6 +5089,10 @@ inline void gcode_M104() {
|
||||
|
||||
if (code_value_temp_abs() > thermalManager.degHotend(target_extruder)) LCD_MESSAGEPGM(MSG_HEATING);
|
||||
}
|
||||
|
||||
#if ENABLED(AUTOTEMP)
|
||||
planner.autotemp_M104_M109();
|
||||
#endif
|
||||
}
|
||||
|
||||
#if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
||||
@@ -5284,7 +5288,7 @@ inline void gcode_M109() {
|
||||
}
|
||||
|
||||
#if ENABLED(AUTOTEMP)
|
||||
planner.autotemp_M109();
|
||||
planner.autotemp_M104_M109();
|
||||
#endif
|
||||
|
||||
#if TEMP_RESIDENCY_TIME > 0
|
||||
|
Reference in New Issue
Block a user