IDs: Introduce ID handling functions and data
IDs will be needed by multiple subsystems, so introduce the needed variables and handling functions.
This commit is contained in:
parent
da837ffbb4
commit
6c5a670366
5 changed files with 85 additions and 2 deletions
|
@ -39,7 +39,7 @@ int8_t RFID::checkTags() {
|
|||
removeActiveTag(node, previousNode);
|
||||
// Return the ID with the sign bit set to signal it has gone.
|
||||
// If other tags are gone we can check on the next loop.
|
||||
return node->tag_ID | 1<<7;
|
||||
return node->tag_ID | idMaskGone;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue