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

Method reset

X86TestSupport/TestSupport/SoftwareGPIO.h:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 static void reset(HandleCircuit circuit, bool circuitHandlesHystesis) {
95 auto& inst = instance();
96 for (int i = 0; i < 256; ++i) {
97 inst.pins[i].reset();
98 }
99
100 inst.virtualCircuit = circuit;
101 inst.circuitHandlesHystesis = circuitHandlesHystesis;
102 }
103
104 void setMode(int index, int mode) {
105 auto& pin = pins[index];

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected