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

Function stop

Modules/hal-device-module/source/module.cpp:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17static error_t stop() {
18 /* We crash when destruct fails, because if a single driver fails to destruct,
19 * there is no guarantee that the previously destroyed drivers can be recovered */
20 check(driver_remove_destruct(&hal_device_driver) == ERROR_NONE);
21 return ERROR_NONE;
22}
23
24struct Module hal_device_module = {
25 .name = "hal-device",

Callers

nothing calls this directly

Calls 2

driver_remove_destructFunction · 0.85
checkFunction · 0.50

Tested by

no test coverage detected