use temperatures from Configuration.h
Signed-off-by: Simon Christmann <simon@christmann.email>
This commit is contained in:
parent
5ae031627c
commit
3884469b42
|
@ -1169,8 +1169,8 @@ void AnycubicTFTClass::GetCommandFromTFT()
|
||||||
if((!planner.movesplanned())&& (TFTstate!=ANYCUBIC_TFT_STATE_SDPAUSE) && (TFTstate!=ANYCUBIC_TFT_STATE_SDOUTAGE))
|
if((!planner.movesplanned())&& (TFTstate!=ANYCUBIC_TFT_STATE_SDPAUSE) && (TFTstate!=ANYCUBIC_TFT_STATE_SDOUTAGE))
|
||||||
{
|
{
|
||||||
if((current_position[Z_AXIS]<10)) enqueue_and_echo_commands_P(PSTR("G1 Z10")); // RAISE Z AXIS
|
if((current_position[Z_AXIS]<10)) enqueue_and_echo_commands_P(PSTR("G1 Z10")); // RAISE Z AXIS
|
||||||
thermalManager.setTargetBed(50);
|
thermalManager.setTargetBed(PREHEAT_1_TEMP_BED);
|
||||||
thermalManager.setTargetHotend(200, 0);
|
thermalManager.setTargetHotend(PREHEAT_1_TEMP_HOTEND, 0);
|
||||||
ANYCUBIC_SERIAL_SUCC_START;
|
ANYCUBIC_SERIAL_SUCC_START;
|
||||||
ANYCUBIC_SERIAL_ENTER();
|
ANYCUBIC_SERIAL_ENTER();
|
||||||
}
|
}
|
||||||
|
@ -1179,8 +1179,8 @@ void AnycubicTFTClass::GetCommandFromTFT()
|
||||||
if((!planner.movesplanned()) && (TFTstate!=ANYCUBIC_TFT_STATE_SDPAUSE) && (TFTstate!=ANYCUBIC_TFT_STATE_SDOUTAGE))
|
if((!planner.movesplanned()) && (TFTstate!=ANYCUBIC_TFT_STATE_SDPAUSE) && (TFTstate!=ANYCUBIC_TFT_STATE_SDOUTAGE))
|
||||||
{
|
{
|
||||||
if((current_position[Z_AXIS]<10)) enqueue_and_echo_commands_P(PSTR("G1 Z10")); //RAISE Z AXIS
|
if((current_position[Z_AXIS]<10)) enqueue_and_echo_commands_P(PSTR("G1 Z10")); //RAISE Z AXIS
|
||||||
thermalManager.setTargetBed(80);
|
thermalManager.setTargetBed(PREHEAT_2_TEMP_BED);
|
||||||
thermalManager.setTargetHotend(240, 0);
|
thermalManager.setTargetHotend(PREHEAT_2_TEMP_HOTEND, 0);
|
||||||
|
|
||||||
ANYCUBIC_SERIAL_SUCC_START;
|
ANYCUBIC_SERIAL_SUCC_START;
|
||||||
ANYCUBIC_SERIAL_ENTER();
|
ANYCUBIC_SERIAL_ENTER();
|
||||||
|
|
Loading…
Reference in New Issue