Removed zeroing of UUID bytes 2 and 3. This is specific to the Nordic implementation.

This commit is contained in:
Jeremy Brodt 2015-02-20 13:25:43 -06:00 committed by Rohit Grover
parent f557237f47
commit da2879ac14

View file

@ -81,12 +81,6 @@ UUID::UUID(const LongUUIDBytes_t longUUID) : type(UUID_TYPE_SHORT), baseUUID(),
if (baseUUID[index] != 0) {
type = UUID_TYPE_LONG;
/* zero out the 16-bit part in the base; this will help equate long
* UUIDs when they differ only in this 16-bit relative part.*/
baseUUID[2] = 0;
baseUUID[3] = 0;
return;
}
}