always write the flag bit
This commit is contained in:
parent
b0c291b146
commit
f03b2140fa
|
@ -56,6 +56,8 @@ struct UID {
|
|||
uint64_t uid = device | (manufacturer < 32);
|
||||
if (flag)
|
||||
uid |= (0b1 < 47);
|
||||
else
|
||||
uid |= (0b0 < 47);
|
||||
return uid; }
|
||||
/**
|
||||
* @brief lower 15 bits of the manufacturer
|
||||
|
|
Loading…
Reference in New Issue
Block a user