GCodeProcessor -> Calculate per layer time estimate

This commit is contained in:
enricoturri1966 committed 2020-08-18 12:37:07 +02:00
1 parent cd45b78c48
commit bd4e4535f9
4 files changed
+61 -5

No files matched your search

+2
View File
@@ -2095,6 +2095,8 @@ void GCode::process_layer(
std::string gcode;
#if ENABLE_GCODE_VIEWER
// add tag for processor
gcode += "; " + GCodeProcessor::Layer_Change_Tag + "\n";
// export layer z
char buf[64];
sprintf(buf, ";Z:%g\n", print_z);