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

Function start

TactilityKernel/source/kernel_init.cpp:14–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12extern const ModuleSymbol KERNEL_SYMBOLS[];
13
14static error_t start() {
15 extern Driver root_driver;
16 if (driver_construct_add(&root_driver) != ERROR_NONE) return ERROR_RESOURCE;
17 extern Driver display_placeholder_driver;
18 if (driver_construct_add(&display_placeholder_driver) != ERROR_NONE) return ERROR_RESOURCE;
19 extern Driver touch_placeholder_driver;
20 if (driver_construct_add(&touch_placeholder_driver) != ERROR_NONE) return ERROR_RESOURCE;
21 extern Driver spi_peripheral_driver;
22 if (driver_construct_add(&spi_peripheral_driver) != ERROR_NONE) return ERROR_RESOURCE;
23 return ERROR_NONE;
24}
25
26static error_t stop() {
27 return ERROR_NONE;

Callers

nothing calls this directly

Calls 1

driver_construct_addFunction · 0.85

Tested by

no test coverage detected