diff options
Diffstat (limited to 'src/system_fsm/booting.cpp')
| -rw-r--r-- | src/system_fsm/booting.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp index 940e10db..affd3ebc 100644 --- a/src/system_fsm/booting.cpp +++ b/src/system_fsm/booting.cpp @@ -5,9 +5,11 @@ */ #include "collation.hpp" +#include "haptics.hpp" #include "system_fsm.hpp" #include <stdint.h> +#include <memory> #include "assert.h" #include "esp_err.h" @@ -75,6 +77,7 @@ auto Booting::entry() -> void { std::unique_ptr<drivers::NvsStorage>(drivers::NvsStorage::OpenSync())); sServices->touchwheel( std::unique_ptr<drivers::TouchWheel>{drivers::TouchWheel::Create()}); + sServices->haptics(std::make_unique<drivers::Haptics>()); auto adc = drivers::AdcBattery::Create(); sServices->battery(std::make_unique<battery::Battery>( |
