diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-04-08 13:50:35 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-04-08 13:50:35 +1000 |
| commit | 5f1a6507d8f7a0f9ecea179f94aeb182eac77cfe (patch) | |
| tree | 42220c19c5511902ef032ec0453a5d3b5cc2d39c /src/ui/include | |
| parent | 251c0ba96dadf8d28406095ec2189466b631f7f8 (diff) | |
| download | tangara-fw-5f1a6507d8f7a0f9ecea179f94aeb182eac77cfe.tar.gz | |
Warn and block MSC disable if the sd card is busy
Diffstat (limited to 'src/ui/include')
| -rw-r--r-- | src/ui/include/ui_fsm.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/include/ui_fsm.hpp b/src/ui/include/ui_fsm.hpp index 9f9aa9b9..2bab487d 100644 --- a/src/ui/include/ui_fsm.hpp +++ b/src/ui/include/ui_fsm.hpp @@ -65,6 +65,7 @@ class UiState : public tinyfsm::Fsm<UiState> { void react(const audio::VolumeLimitChanged&); void react(const system_fsm::KeyLockChanged&); + void react(const system_fsm::SamdUsbStatusChanged&); void react(const internal::DismissAlerts&); void react(const internal::ControlSchemeChanged&); @@ -133,6 +134,7 @@ class UiState : public tinyfsm::Fsm<UiState> { static lua::Property sDatabaseAutoUpdate; static lua::Property sUsbMassStorageEnabled; + static lua::Property sUsbMassStorageBusy; }; namespace states { |
