summaryrefslogtreecommitdiff
path: root/src/ui/include/ui_fsm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/include/ui_fsm.hpp')
-rw-r--r--src/ui/include/ui_fsm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/include/ui_fsm.hpp b/src/ui/include/ui_fsm.hpp
index d4d23bb0..dda8e447 100644
--- a/src/ui/include/ui_fsm.hpp
+++ b/src/ui/include/ui_fsm.hpp
@@ -22,8 +22,8 @@ namespace ui {
class UiState : public tinyfsm::Fsm<UiState> {
public:
static auto Init(drivers::GpioExpander* gpio_expander,
- std::weak_ptr<drivers::RelativeWheel> touchwheel,
- std::weak_ptr<drivers::Display> display) -> void;
+ const std::weak_ptr<drivers::RelativeWheel> &touchwheel,
+ const std::weak_ptr<drivers::Display> &display) -> void;
virtual ~UiState() {}