MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / stop

Function stop

Tactility/Source/hal/usb/Usb.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void stop() {
71 if (canStartNewMode()) {
72 return;
73 }
74
75 tusbStop();
76
77 currentMode = Mode::None;
78}
79
80Mode getMode() {
81 return currentMode;

Callers

nothing calls this directly

Calls 2

canStartNewModeFunction · 0.85
tusbStopFunction · 0.85

Tested by

no test coverage detected