MCPcopy Create free account
hub / github.com/digint/tinyfsm / reset

Method reset

examples/api/multiple_switch.cpp:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 static constexpr unsigned int defect_level = (inum * 2);
35
36 static void reset(void) {
37 on_counter = 0;
38 }
39
40 /* default reaction for unhandled events */
41 void react(tinyfsm::Event const &) { };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected