Use temperature accessors
This commit is contained in:
1 parent
6f5800bd74
commit
dfcccb63a1
6 files changed
+7
-7
No files matched your search
@@ -644,7 +644,7 @@ static void drawAxisValue(AxisEnum axis) {
|
||||
static void moveAxis(AxisEnum axis, const int8_t direction) {
|
||||
quick_feedback();
|
||||
|
||||
if (axis == E_AXIS && thermalManager.temp_hotend[motionAxisState.e_selection].celsius < EXTRUDE_MINTEMP) {
|
||||
if (axis == E_AXIS && thermalManager.tooColdToExtrude(motionAxisState.e_selection)) {
|
||||
drawMessage("Too cold");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -636,7 +636,7 @@ static void drawAxisValue(AxisEnum axis) {
|
||||
static void moveAxis(AxisEnum axis, const int8_t direction) {
|
||||
quick_feedback();
|
||||
|
||||
if (axis == E_AXIS && thermalManager.temp_hotend[motionAxisState.e_selection].celsius < EXTRUDE_MINTEMP) {
|
||||
if (axis == E_AXIS && thermalManager.tooColdToExtrude(motionAxisState.e_selection)) {
|
||||
drawMessage("Too cold");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user