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
@ -1361,7 +1361,7 @@ void Planner::refresh_positioning() {
|
||||
|
||||
#if ENABLED(AUTOTEMP)
|
||||
|
||||
void Planner::autotemp_M109() {
|
||||
void Planner::autotemp_M104_M109() {
|
||||
autotemp_enabled = code_seen('F');
|
||||
if (autotemp_enabled) autotemp_factor = code_value_temp_diff();
|
||||
if (code_seen('S')) autotemp_min = code_value_temp_abs();
|
||||
@ -1379,4 +1379,4 @@ void Planner::refresh_positioning() {
|
||||
SERIAL_EOL;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user