Refactor: Remove if(true) condition, redundant break statement and decrease indentation.
This commit is contained in:
parent
40ffea64ab
commit
d5feed1f6a
|
|
@ -4582,8 +4582,6 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
|
||||||
case 76:
|
case 76:
|
||||||
{
|
{
|
||||||
#ifdef PINDA_THERMISTOR
|
#ifdef PINDA_THERMISTOR
|
||||||
if (true)
|
|
||||||
{
|
|
||||||
if (!has_temperature_compensation())
|
if (!has_temperature_compensation())
|
||||||
{
|
{
|
||||||
SERIAL_ECHOLNPGM("No PINDA thermistor");
|
SERIAL_ECHOLNPGM("No PINDA thermistor");
|
||||||
|
|
@ -4732,8 +4730,6 @@ if(eSoundMode!=e_SOUND_MODE_SILENT)
|
||||||
}
|
}
|
||||||
lcd_temp_cal_show_result(true);
|
lcd_temp_cal_show_result(true);
|
||||||
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
#else //PINDA_THERMISTOR
|
#else //PINDA_THERMISTOR
|
||||||
|
|
||||||
setTargetBed(PINDA_MIN_T);
|
setTargetBed(PINDA_MIN_T);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue