Merge branch 'dev' into variants

This commit is contained in:
PavelSindler 2019-02-04 01:20:14 +01:00
commit 036bd4eb46

View File

@ -1985,7 +1985,7 @@ if(current_temperature_raw_ambient>(OVERSAMPLENR*MINTEMP_MINAMBIENT_RAW)) // the
// * nozzle checking // * nozzle checking
if(target_temperature[active_extruder]>minttemp[active_extruder]) if(target_temperature[active_extruder]>minttemp[active_extruder])
{ // ~ nozzle heating is on { // ~ nozzle heating is on
bCheckingOnHeater=bCheckingOnHeater||(current_temperature[active_extruder]>=minttemp[active_extruder]); // for eventually delay cutting //bCheckingOnHeater=bCheckingOnHeater||(current_temperature[active_extruder]>=minttemp[active_extruder]); // for eventually delay cutting
if(oTimer4minTempHeater.expired(HEATER_MINTEMP_DELAY)||(!oTimer4minTempHeater.running())||bCheckingOnHeater) if(oTimer4minTempHeater.expired(HEATER_MINTEMP_DELAY)||(!oTimer4minTempHeater.running())||bCheckingOnHeater)
{ {
bCheckingOnHeater=true; // not necessary bCheckingOnHeater=true; // not necessary
@ -1999,7 +1999,7 @@ else { // ~ nozzle heating is off
// * bed checking // * bed checking
if(target_temperature_bed>BED_MINTEMP) if(target_temperature_bed>BED_MINTEMP)
{ // ~ bed heating is on { // ~ bed heating is on
bCheckingOnBed=bCheckingOnBed||(current_temperature_bed>=BED_MINTEMP); // for eventually delay cutting //bCheckingOnBed=bCheckingOnBed||(current_temperature_bed>=BED_MINTEMP); // for eventually delay cutting
if(oTimer4minTempBed.expired(BED_MINTEMP_DELAY)||(!oTimer4minTempBed.running())||bCheckingOnBed) if(oTimer4minTempBed.expired(BED_MINTEMP_DELAY)||(!oTimer4minTempBed.running())||bCheckingOnBed)
{ {
bCheckingOnBed=true; // not necessary bCheckingOnBed=true; // not necessary