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

Function canStartNewMode

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

Source from the content-addressed store, hash-verified

45}
46
47static bool canStartNewMode() {
48 return isSupported() && (currentMode == Mode::Default || currentMode == Mode::None);
49}
50
51bool isSupported() {
52 return tusbIsSupported();

Callers 3

stopFunction · 0.85

Calls 1

isSupportedFunction · 0.70

Tested by

no test coverage detected