summaryrefslogtreecommitdiff
path: root/src/tangara/system_fsm/booting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tangara/system_fsm/booting.cpp')
-rw-r--r--src/tangara/system_fsm/booting.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tangara/system_fsm/booting.cpp b/src/tangara/system_fsm/booting.cpp
index 0bc6da8e..8373a928 100644
--- a/src/tangara/system_fsm/booting.cpp
+++ b/src/tangara/system_fsm/booting.cpp
@@ -4,6 +4,7 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
+#include "drivers/wm8523.hpp"
#include "system_fsm/system_fsm.hpp"
#include <cstdint>
@@ -91,6 +92,7 @@ auto Booting::entry() -> void {
sServices->touchwheel(
std::unique_ptr<drivers::TouchWheel>{drivers::TouchWheel::Create()});
sServices->haptics(std::make_unique<drivers::Haptics>(sServices->nvs()));
+ ESP_ERROR_CHECK(drivers::wm8523::Init());
auto adc = drivers::AdcBattery::Create();
sServices->battery(std::make_unique<battery::Battery>(