diff options
Diffstat (limited to 'src/ui/ui_fsm.cpp')
| -rw-r--r-- | src/ui/ui_fsm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp index c2ac6d8b..709778c7 100644 --- a/src/ui/ui_fsm.cpp +++ b/src/ui/ui_fsm.cpp @@ -18,15 +18,15 @@ namespace ui { -drivers::GpioExpander* UiState::sGpioExpander; +drivers::IGpios* UiState::sIGpios; std::shared_ptr<drivers::TouchWheel> UiState::sTouchWheel; std::shared_ptr<drivers::RelativeWheel> UiState::sRelativeWheel; std::shared_ptr<drivers::Display> UiState::sDisplay; std::shared_ptr<Screen> UiState::sCurrentScreen; -auto UiState::Init(drivers::GpioExpander* gpio_expander) -> bool { - sGpioExpander = gpio_expander; +auto UiState::Init(drivers::IGpios* gpio_expander) -> bool { + sIGpios = gpio_expander; lv_init(); sDisplay.reset( |
