From b192975cb1eeb4e6b7c7bf53cdf42701c55f034a Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 22 Sep 2023 15:48:41 +1000 Subject: make bluetooth pairing ui functional --- src/audio/include/audio_fsm.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/audio/include/audio_fsm.hpp') diff --git a/src/audio/include/audio_fsm.hpp b/src/audio/include/audio_fsm.hpp index 46d3d338..1c0b8aaa 100644 --- a/src/audio/include/audio_fsm.hpp +++ b/src/audio/include/audio_fsm.hpp @@ -45,6 +45,7 @@ class AudioState : public tinyfsm::Fsm { void react(const system_fsm::KeyDownChanged&); void react(const system_fsm::HasPhonesChanged&); void react(const ChangeMaxVolume&); + void react(const OutputModeChanged&); virtual void react(const system_fsm::BootComplete&) {} @@ -65,6 +66,7 @@ class AudioState : public tinyfsm::Fsm { static std::unique_ptr sDecoder; static std::shared_ptr sSampleConverter; static std::shared_ptr sI2SOutput; + static std::shared_ptr sBtOutput; static std::shared_ptr sOutput; static std::optional sCurrentTrack; -- cgit v1.2.3