fix warning

This commit is contained in:
hathach committed 2021-06-10 00:14:52 +07:00
1 parent 74b64da423
commit 76579e48fc
1 file changed
+1 -1
+1 -1
View File
@@ -158,7 +158,7 @@ String BLEUuid::toString(void) const
char result[38];
if (this->size() == 16)
{
sprintf(result, "%02X:%02X", _uuid.uuid);
sprintf(result, "%02X%02X", highByte(_uuid.uuid), lowByte(_uuid.uuid));
}else
{
// uuid is little endian