Fix duplicate init

This commit is contained in:
Ken Van Hoeylandt 2026-02-02 22:30:02 +01:00
parent 32c8de50d3
commit 0426081eb0

View File

@ -27,9 +27,6 @@ void test_task(void* parameter) {
// overrides
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);
data->result = context.run();