diff --git a/Marlin/AnycubicTFT.cpp b/Marlin/AnycubicTFT.cpp index aeb96de..5d40abd 100644 --- a/Marlin/AnycubicTFT.cpp +++ b/Marlin/AnycubicTFT.cpp @@ -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();