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

Function grove_get_mode

TactilityKernel/source/drivers/grove.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14error_t grove_get_mode(struct Device* device, enum GroveMode* mode) {
15 const auto* driver = device_get_driver(device);
16 return GROVE_DRIVER_API(driver)->get_mode(device, mode);
17}
18
19const struct DeviceType GROVE_TYPE {
20 .name = "grove"

Callers 1

onShowMethod · 0.85

Calls 1

device_get_driverFunction · 0.85

Tested by

no test coverage detected