Improve max temp / target
This commit is contained in:
committed by
Scott Lahteine
parent
df1ef496d1
commit
cfa6c7d45b
@ -177,7 +177,7 @@ void GcodeSuite::M360() {
|
||||
config_line_e(e, PSTR("MaxSpeed"), planner.settings.max_feedrate_mm_s[E_AXIS_N(e)]);
|
||||
config_line_e(e, PSTR("Acceleration"), planner.settings.max_acceleration_mm_per_s2[E_AXIS_N(e)]);
|
||||
config_line_e(e, PSTR("Diameter"), TERN(NO_VOLUMETRICS, DEFAULT_NOMINAL_FILAMENT_DIA, planner.filament_size[e]));
|
||||
config_line_e(e, PSTR("MaxTemp"), thermalManager.heater_maxtemp[e]);
|
||||
config_line_e(e, PSTR("MaxTemp"), thermalManager.hotend_maxtemp[e]);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -390,15 +390,13 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
#define TEMP_UNIT(N) parser.to_temp_units(N)
|
||||
|
||||
#else // !TEMPERATURE_UNITS_SUPPORT
|
||||
|
||||
static inline float to_temp_units(int16_t c) { return (float)c; }
|
||||
|
||||
static inline float value_celsius() { return value_float(); }
|
||||
static inline float value_celsius_diff() { return value_float(); }
|
||||
|
||||
#define TEMP_UNIT(N) (N)
|
||||
|
||||
#endif // !TEMPERATURE_UNITS_SUPPORT
|
||||
|
||||
static inline feedRate_t value_feedrate() { return MMM_TO_MMS(value_linear_units()); }
|
||||
|
Reference in New Issue
Block a user