|
@@ -3103,7 +3103,7 @@ static void gcode_G80()
|
|
bool magnet_elimination = (eeprom_read_byte((uint8_t*)EEPROM_MBL_MAGNET_ELIMINATION) > 0);
|
|
bool magnet_elimination = (eeprom_read_byte((uint8_t*)EEPROM_MBL_MAGNET_ELIMINATION) > 0);
|
|
|
|
|
|
#ifndef PINDA_THERMISTOR
|
|
#ifndef PINDA_THERMISTOR
|
|
- if (run == false && temp_cal_active == true && calibration_status_pinda() == true && target_temperature_bed >= 50)
|
|
|
|
|
|
+ if (run == false && eeprom_read_byte((uint8_t *)EEPROM_TEMP_CAL_ACTIVE) && calibration_status_pinda() == true && target_temperature_bed >= 50)
|
|
{
|
|
{
|
|
temp_compensation_start();
|
|
temp_compensation_start();
|
|
run = true;
|
|
run = true;
|
|
@@ -3337,7 +3337,7 @@ static void gcode_G80()
|
|
// SERIAL_ECHOLNPGM("clean up finished ");
|
|
// SERIAL_ECHOLNPGM("clean up finished ");
|
|
|
|
|
|
#ifndef PINDA_THERMISTOR
|
|
#ifndef PINDA_THERMISTOR
|
|
- if(temp_cal_active == true && calibration_status_pinda() == true) temp_compensation_apply(); //apply PINDA temperature compensation
|
|
|
|
|
|
+ if(eeprom_read_byte((uint8_t *)EEPROM_TEMP_CAL_ACTIVE) && calibration_status_pinda() == true) temp_compensation_apply(); //apply PINDA temperature compensation
|
|
#endif
|
|
#endif
|
|
babystep_apply(); // Apply Z height correction aka baby stepping before mesh bed leveing gets activated.
|
|
babystep_apply(); // Apply Z height correction aka baby stepping before mesh bed leveing gets activated.
|
|
// SERIAL_ECHOLNPGM("babystep applied");
|
|
// SERIAL_ECHOLNPGM("babystep applied");
|