From 82830f995c561567c84b8ea74bc270ae0b488d30 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Mon, 22 May 2023 16:52:50 +1000 Subject: Fix some logging, add transition to missing storage --- src/system_fsm/include/system_fsm.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/system_fsm/include/system_fsm.hpp') diff --git a/src/system_fsm/include/system_fsm.hpp b/src/system_fsm/include/system_fsm.hpp index c537c6de..52c808ba 100644 --- a/src/system_fsm/include/system_fsm.hpp +++ b/src/system_fsm/include/system_fsm.hpp @@ -37,6 +37,7 @@ class SystemState : public tinyfsm::Fsm { virtual void react(const StorageUnmountRequested&) {} virtual void react(const internal::ReadyToUnmount&) {} virtual void react(const StorageMounted&) {} + virtual void react(const StorageError&) {} protected: static std::shared_ptr sGpioExpander; @@ -74,6 +75,7 @@ class Running : public SystemState { void react(const StorageUnmountRequested&) override; void react(const internal::ReadyToUnmount&) override; + void react(const StorageError&) override; using SystemState::react; }; -- cgit v1.2.3