diff --git a/protocols/BtLE/src/GATTPeripheral.cpp b/protocols/BtLE/src/GATTPeripheral.cpp index f8a6e28fa..23e390600 100644 --- a/protocols/BtLE/src/GATTPeripheral.cpp +++ b/protocols/BtLE/src/GATTPeripheral.cpp @@ -121,7 +121,7 @@ Poco::UUID GATTPeripheral::serviceUUIDForAssignedNumber(Poco::UInt32 assignedNum { if (it->uuid == uuid) { - break; + return uuid; } }