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

Function usb_msc_eject

TactilityKernel/source/drivers/usb_host_msc.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11};
12
13bool usb_msc_eject(struct Device* device, const char* mount_path) {
14 auto* api = USB_MSC_API(device_get_driver(device));
15 return api->eject && api->eject(device, mount_path);
16}
17
18} // extern "C"

Callers 1

onEjectPressedMethod · 0.85

Calls 1

device_get_driverFunction · 0.85

Tested by

no test coverage detected