1
0
Fork 0

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:
trotFunky 2023-10-21 18:23:43 +01:00
parent 5a907aa9ad
commit aa90c8be68
5 changed files with 85 additions and 2 deletions

View file

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