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

Function driver_construct_add

TactilityKernel/source/driver.cpp:86–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86error_t driver_construct_add(struct Driver* driver) {
87 if (driver_construct(driver) != ERROR_NONE) return ERROR_RESOURCE;
88 if (driver_add(driver) != ERROR_NONE) return ERROR_RESOURCE;
89 return ERROR_NONE;
90}
91
92error_t driver_remove_destruct(struct Driver* driver) {
93 if (driver_remove(driver) != ERROR_NONE) return ERROR_RESOURCE;

Callers 15

startFunction · 0.85
DeviceTest.cppFile · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85
startFunction · 0.85

Calls 2

driver_constructFunction · 0.85
driver_addFunction · 0.85

Tested by

no test coverage detected