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

Function driver_remove_destruct

TactilityKernel/source/driver.cpp:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92error_t driver_remove_destruct(struct Driver* driver) {
93 if (driver_remove(driver) != ERROR_NONE) return ERROR_RESOURCE;
94 if (driver_destruct(driver) != ERROR_NONE) return ERROR_RESOURCE;
95 return ERROR_NONE;
96}
97
98bool driver_is_compatible(Driver* driver, const char* compatible) {
99 if (compatible == nullptr || driver->compatible == nullptr) {

Callers 14

stopFunction · 0.85
DeviceTest.cppFile · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85
stopFunction · 0.85

Calls 2

driver_removeFunction · 0.85
driver_destructFunction · 0.85

Tested by

no test coverage detected