Do not include homing and heating time in build progress

master
Vitaliy Filippov 2014-06-03 23:24:55 +04:00
parent fb628cad06
commit 837de3498d
1 changed files with 3 additions and 3 deletions

6
gpx.c
View File

@ -1407,7 +1407,7 @@ static int home_axes(Gpx *gpx, unsigned axes, unsigned direction)
// time between steps for longest axis = microseconds / longestStep
unsigned step_delay = (unsigned)round(microseconds / longestAxis);
gpx->accumulated.time += distance / feedrate * 60;
//gpx->accumulated.time += distance / feedrate * 60;
begin_frame(gpx);
@ -1490,7 +1490,7 @@ static int set_nozzle_temperature(Gpx *gpx, unsigned extruder_id, unsigned tempe
double tDelta = (double)temperature - (double)gpx->tool[extruder_id].nozzle_temperature - AMBIENT_TEMP;
if(tDelta > 0.0) {
gpx->accumulated.time += tDelta * NOZZLE_TIME;
//gpx->accumulated.time += tDelta * NOZZLE_TIME;
}
begin_frame(gpx);
@ -1591,7 +1591,7 @@ static int set_build_platform_temperature(Gpx *gpx, unsigned extruder_id, unsign
double tDelta = (double)temperature - (double)gpx->tool[extruder_id].build_platform_temperature - AMBIENT_TEMP;
if(tDelta > 0.0) {
gpx->accumulated.time += tDelta * HBP_TIME;
//gpx->accumulated.time += tDelta * HBP_TIME;
}
begin_frame(gpx);