From 499d5a942fc2ad0149b0a16e978e090336dd8319 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 7 Nov 2023 10:32:07 +1100 Subject: Add a wrapper codec source that does readahead --- src/system_fsm/booting.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/system_fsm/booting.cpp') diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp index 893a4560..f509c52e 100644 --- a/src/system_fsm/booting.cpp +++ b/src/system_fsm/booting.cpp @@ -32,6 +32,7 @@ #include "spi.hpp" #include "system_events.hpp" #include "tag_parser.hpp" +#include "tasks.hpp" #include "touchwheel.hpp" #include "track_queue.hpp" #include "ui_fsm.hpp" @@ -63,6 +64,10 @@ auto Booting::entry() -> void { return; } + ESP_LOGI(kTag, "starting bg worker"); + sServices->bg_worker(std::unique_ptr{ + tasks::Worker::Start()}); + ESP_LOGI(kTag, "installing remaining drivers"); sServices->samd(std::unique_ptr(drivers::Samd::Create())); vTaskDelay(pdMS_TO_TICKS(1000)); -- cgit v1.2.3