MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / GetPauseDuration

Method GetPauseDuration

src/PrintMonitor/PrintMonitor.cpp:313–316  ·  view source on GitHub ↗

Return the total pause time

Source from the content-addressed store, hash-verified

311
312// Return the total pause time
313float PrintMonitor::GetPauseDuration() const noexcept
314{
315 return (float)((paused) ? totalPauseTime + (millis64() - pauseStartTime) : totalPauseTime) * MillisToSeconds;
316}
317
318// Notifies this class that a file has been set for printing
319void PrintMonitor::StartingPrint(const char *_ecv_array filename) noexcept

Callers 1

PrintMonitor.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected