This commit is contained in:
Ken Van Hoeylandt 2025-08-13 22:12:36 +02:00
parent 14a8ac20c8
commit 51f920c6e8

View File

@ -39,12 +39,12 @@ void init(const Configuration& configuration) {
if (!configuration.sdcard->mount(TT_SDCARD_MOUNT_POINT)) {
TT_LOG_W(TAG, "SD card mount failed (init can continue)");
}
hal::registerDevice(configuration.sdcard);
registerDevice(configuration.sdcard);
}
if (configuration.power != nullptr) {
std::shared_ptr<tt::hal::power::PowerDevice> power = configuration.power();
hal::registerDevice(power);
std::shared_ptr<power::PowerDevice> power = configuration.power();
registerDevice(power);
}
kernel::publishSystemEvent(kernel::SystemEvent::BootInitHalEnd);