From 371f0a20cad4dfcb3237db6f72a7e35403950938 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 30 Jun 2023 20:48:40 +1000 Subject: Clean up gpios interface --- src/ui/include/ui_fsm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/include') diff --git a/src/ui/include/ui_fsm.hpp b/src/ui/include/ui_fsm.hpp index d0bb7b2f..4de9344c 100644 --- a/src/ui/include/ui_fsm.hpp +++ b/src/ui/include/ui_fsm.hpp @@ -21,7 +21,7 @@ namespace ui { class UiState : public tinyfsm::Fsm { public: - static auto Init(drivers::GpioExpander* gpio_expander) -> bool; + static auto Init(drivers::IGpios* gpio_expander) -> bool; virtual ~UiState() {} @@ -41,7 +41,7 @@ class UiState : public tinyfsm::Fsm { virtual void react(const system_fsm::BootComplete&) {} protected: - static drivers::GpioExpander* sGpioExpander; + static drivers::IGpios* sIGpios; static std::shared_ptr sTouchWheel; static std::shared_ptr sRelativeWheel; static std::shared_ptr sDisplay; -- cgit v1.2.3