Skip to content

Commit 2db92b6

Browse files
committed
Corrected KW issue.
Mods: - A KW issue that turns out to be a bug in BLEProfile::attribute. It shunted the if check and caused the routine to bail early with nothing found.
1 parent 48ed67e commit 2db92b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/CurieBLE/src/BLEProfile.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ BLEAttribute *BLEProfile::attribute(const bt_uuid_t* uuid)
595595
continue;
596596
}
597597
chrc_tmp = (BLECharacteristic *)attr_tmp;
598-
if (chrc_tmp->uuid() == uuid);
598+
if (chrc_tmp->uuid() == uuid)
599599
{
600600
att_found = true;
601601
break;

0 commit comments

Comments
 (0)