diff options
Diffstat (limited to 'src/system_fsm/booting.cpp')
| -rw-r--r-- | src/system_fsm/booting.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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>{ + tasks::Worker::Start<tasks::Type::kDatabaseBackground>()}); + ESP_LOGI(kTag, "installing remaining drivers"); sServices->samd(std::unique_ptr<drivers::Samd>(drivers::Samd::Create())); vTaskDelay(pdMS_TO_TICKS(1000)); |
