Skip to content

Commit 76579e4

Browse files
committed
fix warning
1 parent 74b64da commit 76579e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Bluefruit52Lib/src/BLEUuid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ String BLEUuid::toString(void) const
158158
char result[38];
159159
if (this->size() == 16)
160160
{
161-
sprintf(result, "%02X:%02X", _uuid.uuid);
161+
sprintf(result, "%02X%02X", highByte(_uuid.uuid), lowByte(_uuid.uuid));
162162
}else
163163
{
164164
// uuid is little endian

0 commit comments

Comments
 (0)