-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
With GCode buffering improvements currently being integrated, it becomes possible for clients to set the total of lines to be buffered beforehand.
To report more accurate progress (esp. with large prints), it would be good to use this number (if set by client) instead of current behaviour where the number of buffered lines so far is used.
A possible implementation would be to (don't mind the naming proposals):
- rename getTotalLines() to
getTotalAppendedLines(), - create new function (e.g.,
getGrandTotalLines) which returns sequenceTotal_ if set, orgetTotalAppendedLines()otherwise.
The new function would then be used for progress reports.