mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
Fix duplicate init
This commit is contained in:
parent
32c8de50d3
commit
0426081eb0
@ -27,9 +27,6 @@ void test_task(void* parameter) {
|
|||||||
// overrides
|
// overrides
|
||||||
context.setOption("no-breaks", true); // don't break in the debugger when assertions fail
|
context.setOption("no-breaks", true); // don't break in the debugger when assertions fail
|
||||||
|
|
||||||
check(module_construct(&hal_device_module) == ERROR_NONE);
|
|
||||||
check(module_add(&hal_device_module) == ERROR_NONE);
|
|
||||||
check(module_start(&hal_device_module) == ERROR_NONE);
|
|
||||||
check(kernel_init(&platform_module, &hal_device_module, nullptr) == ERROR_NONE);
|
check(kernel_init(&platform_module, &hal_device_module, nullptr) == ERROR_NONE);
|
||||||
|
|
||||||
data->result = context.run();
|
data->result = context.run();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user