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

Method Pop

src/GCodes/GCodes.cpp:1863–1870  ·  view source on GitHub ↗

Recover a saved state

Source from the content-addressed store, hash-verified

1861
1862// Recover a saved state
1863void GCodes::Pop(GCodeBuffer& gb, bool withinSameFile) noexcept
1864{
1865 if (!gb.PopState(withinSameFile))
1866 {
1867 platform.MessageF(ErrorMessage, "Pop(): stack underflow on %s\n", gb.GetChannel().ToString());
1868 }
1869 reprap.InputsUpdated();
1870}
1871
1872// Set up the feed rate of a move for the Move class
1873// ms.moveType, ms.isCoordinated, ms.linearAxesMentioned and ms.rotationalAxesMentioned must be set up before calling this

Callers 1

PopStateMethod · 0.45

Calls 3

PopStateMethod · 0.80
InputsUpdatedMethod · 0.80
MessageFMethod · 0.45

Tested by

no test coverage detected