summaryrefslogtreecommitdiff
path: root/src/audio/include/bt_audio_output.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-22 15:48:41 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-22 21:19:19 +1000
commitb192975cb1eeb4e6b7c7bf53cdf42701c55f034a (patch)
tree39755851543d596f2630704be9efb56be1f39bfc /src/audio/include/bt_audio_output.hpp
parentcbd99b2134c6c471708deb409a4b0fcc4c31516d (diff)
downloadtangara-fw-b192975cb1eeb4e6b7c7bf53cdf42701c55f034a.tar.gz
make bluetooth pairing ui functional
Diffstat (limited to 'src/audio/include/bt_audio_output.hpp')
-rw-r--r--src/audio/include/bt_audio_output.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio/include/bt_audio_output.hpp b/src/audio/include/bt_audio_output.hpp
index a8e44f31..734a7ed1 100644
--- a/src/audio/include/bt_audio_output.hpp
+++ b/src/audio/include/bt_audio_output.hpp
@@ -21,7 +21,7 @@ namespace audio {
class BluetoothAudioOutput : public IAudioOutput {
public:
- BluetoothAudioOutput(drivers::Bluetooth* bt);
+ BluetoothAudioOutput(drivers::Bluetooth& bt);
~BluetoothAudioOutput();
auto SetInUse(bool) -> void override;
@@ -39,7 +39,7 @@ class BluetoothAudioOutput : public IAudioOutput {
BluetoothAudioOutput& operator=(const BluetoothAudioOutput&) = delete;
private:
- drivers::Bluetooth* bluetooth_;
+ drivers::Bluetooth& bluetooth_;
};
} // namespace audio