1
0
Fork 0

always write the flag bit

This commit is contained in:
Kevin Matz 2022-06-08 10:39:10 -04:00
parent b0c291b146
commit f03b2140fa
1 changed files with 2 additions and 0 deletions

View File

@ -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