This commit is contained in:
3d-gussner 2020-12-07 15:44:49 +01:00
parent 62c36f718b
commit 732b6e0cad
2 changed files with 4 additions and 5 deletions

View File

@ -2325,7 +2325,7 @@ float unscalePID_d(float d)
//!
//! @retval true firmware should do temperature compensation and allow calibration
//! @retval false PINDA thermistor is not detected, disable temperature compensation and calibration
//! @retval true/false when overwritten in LCD menu Settings->HW Setup->SuperPINDA
//! @retval true/false when forced via LCD menu Settings->HW Setup->SuperPINDA
//!
bool has_temperature_compensation()
{
@ -2333,9 +2333,6 @@ bool has_temperature_compensation()
uint8_t pinda_temp_compensation = eeprom_read_byte((uint8_t*)EEPROM_PINDA_TEMP_COMPENSATION);
if (pinda_temp_compensation == EEPROM_EMPTY_VALUE) //Unkown PINDA temp compenstation, so check it.
{
//SERIAL_ECHOLNPGM("Current PINDATEMP:");
//SERIAL_ECHO(current_temperature_pinda);
//SERIAL_ECHOLN(PINDA_MINTEMP);
return (current_temperature_pinda >= PINDA_MINTEMP) ? true : false;
}
else if (pinda_temp_compensation == 0) return true; //Overwritten via LCD menu SuperPINDA [No]

View File

@ -9253,4 +9253,6 @@ void lcd_pinda_temp_compensation_toggle()
else
pinda_temp_compensation = !pinda_temp_compensation;
eeprom_update_byte((uint8_t*)EEPROM_PINDA_TEMP_COMPENSATION, pinda_temp_compensation);
SERIAL_ECHOLNPGM("LCD U SuperPINDA:");
SERIAL_ECHOLN(pinda_temp_compensation);
}