summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-12-10 13:30:27 +1100
committerailurux <ailuruxx@gmail.com>2024-12-10 13:30:27 +1100
commita1d64dce073a03c6f6d756abae56fb669e87fb3f (patch)
tree7767fa357f07b3f9024a6b8bd0aa060475ec175a /src/drivers
parent048cfd705f441406f8ce181e2a2f288c98388439 (diff)
downloadtangara-fw-a1d64dce073a03c6f6d756abae56fb669e87fb3f.tar.gz
Allow for connecting to the paired device from the known devices list
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/bluetooth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/bluetooth.cpp b/src/drivers/bluetooth.cpp
index 3da5dd0c..cba19323 100644
--- a/src/drivers/bluetooth.cpp
+++ b/src/drivers/bluetooth.cpp
@@ -396,7 +396,7 @@ auto BluetoothState::pairedDevice() -> std::optional<MacAndName> {
auto BluetoothState::pairedDevice(std::optional<MacAndName> dev) -> void {
auto cur = sPairedWith_;
if (dev && cur && dev->mac == cur->mac) {
- return;
+ ESP_LOGI(kTag, "Paired device updated with same value");
}
if (dev) {
ESP_LOGI(kTag, "pairing with '%s' (%u%u%u%u%u%u)", dev->name.c_str(),