1
0
Fork 0

set flag value if initialized via the manufactuer high bit

This commit is contained in:
Kevin Matz 2022-06-08 10:42:44 -04:00
parent f03b2140fa
commit 7826d17d40
1 changed files with 1 additions and 1 deletions

View File

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