MCPcopy Create free account
hub / github.com/bdring/FluidNC / unwind_stack

Function unwind_stack

FluidNC/src/Flowcontrol.cpp:96–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 return true;
95}
96void unwind_stack() {
97 if (context.empty()) {
98 return;
99 }
100 JobSource* file = context.top().file;
101 while (!context.empty() && context.top().file == file) {
102 stack_pull();
103 }
104}
105void flowcontrol_init(void) {
106 while (!context.empty()) {
107 stack_pull();

Callers 1

flowcontrolFunction · 0.85

Calls 1

stack_pullFunction · 0.85

Tested by

no test coverage detected