@@ -3376,7 +3376,7 @@ static void gcode_G80()
3376
3376
go_home_with_z_lift();
3377
3377
// SERIAL_ECHOLNPGM("Go home finished");
3378
3378
//unretract (after PINDA preheat retraction)
3379
- if ((degHotend (active_extruder) > EXTRUDE_MINTEMP ) && eeprom_read_byte ((unsigned char *)EEPROM_TEMP_CAL_ACTIVE) && calibration_status_pinda () && (target_temperature_bed >= 50 )) {
3379
+ if (((int) degHotend(active_extruder) > extrude_min_temp ) && eeprom_read_byte((unsigned char *)EEPROM_TEMP_CAL_ACTIVE) && calibration_status_pinda() && (target_temperature_bed >= 50)) {
3380
3380
current_position[E_AXIS] += default_retraction;
3381
3381
plan_buffer_line_curposXYZE(400);
3382
3382
}
@@ -7729,8 +7729,8 @@ SERIAL_PROTOCOLPGM("\n\n");
7729
7729
*/
7730
7730
case 302:
7731
7731
{
7732
- float temp = . 0 ;
7733
- if (code_seen (' S' )) temp=code_value ();
7732
+ int temp = 0;
7733
+ if (code_seen('S')) temp=code_value_short ();
7734
7734
set_extrude_min_temp(temp);
7735
7735
}
7736
7736
break;
@@ -9679,7 +9679,7 @@ static uint16_t nFSCheckCount=0;
9679
9679
#ifdef PAT9125
9680
9680
fsensor_autoload_check_stop();
9681
9681
#endif //PAT9125
9682
- // -// if (degHotend0() > EXTRUDE_MINTEMP )
9682
+ //-// if ((int) degHotend0() > extrude_min_temp )
9683
9683
if(0)
9684
9684
{
9685
9685
Sound_MakeCustom(50,1000,false);
@@ -9695,7 +9695,7 @@ if(0)
9695
9695
*/
9696
9696
eFilamentAction=FilamentAction::AutoLoad;
9697
9697
bFilamentFirstRun=false;
9698
- if (target_temperature[0 ]>=EXTRUDE_MINTEMP ){
9698
+ if(target_temperature[0] >= extrude_min_temp ){
9699
9699
bFilamentPreheatState=true;
9700
9700
// mFilamentItem(target_temperature[0],target_temperature_bed);
9701
9701
menu_submenu(mFilamentItemForce);
@@ -10620,7 +10620,7 @@ static void temp_compensation_start() {
10620
10620
custom_message_type = CustomMsg::TempCompPreheat;
10621
10621
custom_message_state = PINDA_HEAT_T + 1;
10622
10622
lcd_update(2);
10623
- if (degHotend (active_extruder) > EXTRUDE_MINTEMP ) {
10623
+ if ((int) degHotend(active_extruder) > extrude_min_temp ) {
10624
10624
current_position[E_AXIS] -= default_retraction;
10625
10625
}
10626
10626
plan_buffer_line_curposXYZE(400, active_extruder);
0 commit comments