Skip to content

Commit e57cd86

Browse files
eriknyquistsgbihu
authored andcommitted
BLEDeviceManager.cpp: fix typo in advertisedServicesUuid()
Apparently advertisedServicesUuid() has never worked. It should work now.
1 parent ec64e05 commit e57cd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/BLE/src/internal/BLEDeviceManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ void BLEDeviceManager::advertisedServiceUuid(const BLEDevice* device, int index,
757757
// Local device only support advertise 1 service now.
758758
if (_has_service_uuid && index == 0)
759759
{
760-
BLEUtils::uuidBT2String(&service_uuid.uuid, buf);
760+
BLEUtils::uuidBT2String(&_service_uuid.uuid, buf);
761761
}
762762
return;
763763
}

0 commit comments

Comments
 (0)