use temperatures from Configuration.h

Signed-off-by: Simon Christmann <simon@christmann.email>
This commit is contained in:
Simon Christmann 2021-05-27 15:48:29 +02:00
parent 5ae031627c
commit 3884469b42
No known key found for this signature in database
GPG Key ID: D88B8C22C5CC7764
1 changed files with 4 additions and 4 deletions

View File

@ -1169,8 +1169,8 @@ void AnycubicTFTClass::GetCommandFromTFT()
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
thermalManager.setTargetBed(50);
thermalManager.setTargetHotend(200, 0);
thermalManager.setTargetBed(PREHEAT_1_TEMP_BED);
thermalManager.setTargetHotend(PREHEAT_1_TEMP_HOTEND, 0);
ANYCUBIC_SERIAL_SUCC_START;
ANYCUBIC_SERIAL_ENTER();
}
@ -1179,8 +1179,8 @@ void AnycubicTFTClass::GetCommandFromTFT()
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
thermalManager.setTargetBed(80);
thermalManager.setTargetHotend(240, 0);
thermalManager.setTargetBed(PREHEAT_2_TEMP_BED);
thermalManager.setTargetHotend(PREHEAT_2_TEMP_HOTEND, 0);
ANYCUBIC_SERIAL_SUCC_START;
ANYCUBIC_SERIAL_ENTER();