MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / IsStateOk

Function IsStateOk

Goldleaf/source/usb/usb_Base.cpp:382–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380 }
381
382 bool IsStateOk() {
383 auto state = UsbState_Detached;
384 usbDsGetState(&state);
385 return state == UsbState_Configured;
386 }
387
388 Result Read(void *buf, const size_t size) {
389 return TransferImpl(buf, size, g_EndpointOut);

Callers 2

UpdateValuesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected