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

Function start

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

Source from the content-addressed store, hash-verified

8extern Driver hal_device_driver;
9
10static error_t start() {
11 /* We crash when construct fails, because if a single driver fails to construct,
12 * there is no guarantee that the previously constructed drivers can be destroyed */
13 check(driver_construct_add(&hal_device_driver) == ERROR_NONE);
14 return ERROR_NONE;
15}
16
17static error_t stop() {
18 /* We crash when destruct fails, because if a single driver fails to destruct,

Callers

nothing calls this directly

Calls 2

driver_construct_addFunction · 0.85
checkFunction · 0.50

Tested by

no test coverage detected