set flag value if initialized via the manufactuer high bit
This commit is contained in:
parent
f03b2140fa
commit
7826d17d40
|
@ -42,7 +42,7 @@ struct UID {
|
|||
: device(dev)
|
||||
, manufacturer(man)
|
||||
, flag(flag)
|
||||
{};
|
||||
{ if (man >> 15) this->flag = true; };
|
||||
|
||||
uint32_t device; //!< manufacturer assigned device ID
|
||||
uint16_t manufacturer; //!< ESTA assigned manufacturer ID
|
||||
|
|
Loading…
Reference in New Issue