summaryrefslogtreecommitdiff
path: root/src/drivers/include/nvs.hpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-02-06 12:38:11 +1100
committerjacqueline <me@jacqueline.id.au>2024-02-06 13:37:20 +1100
commit99c56641e9ee531a0553ff19422009dd667a3add (patch)
tree8cb4dcd954a563b42bee9e991e8ad9bb99a0f3c7 /src/drivers/include/nvs.hpp
parentab314b82e10aadb674fab223bffa4933a9a65750 (diff)
downloadtangara-fw-99c56641e9ee531a0553ff19422009dd667a3add.tar.gz
fix various of bluetooth issues
connecting and disconnecting is a bit more consistent now!
Diffstat (limited to 'src/drivers/include/nvs.hpp')
-rw-r--r--src/drivers/include/nvs.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/include/nvs.hpp b/src/drivers/include/nvs.hpp
index f592b1c3..1184b72c 100644
--- a/src/drivers/include/nvs.hpp
+++ b/src/drivers/include/nvs.hpp
@@ -25,8 +25,8 @@ class NvsStorage {
auto LockPolarity() -> bool;
auto LockPolarity(bool) -> bool;
- auto PreferredBluetoothDevice() -> std::optional<bluetooth::mac_addr_t>;
- auto PreferredBluetoothDevice(std::optional<bluetooth::mac_addr_t>) -> bool;
+ auto PreferredBluetoothDevice() -> std::optional<bluetooth::MacAndName>;
+ auto PreferredBluetoothDevice(std::optional<bluetooth::MacAndName>) -> bool;
enum class Output : uint8_t {
kHeadphones = 0,