clean up statemachine and simplify sensor

This commit is contained in:
2023-01-01 20:11:24 +01:00
parent 01be1b6a93
commit ae2dde8e63
7 changed files with 205 additions and 122 deletions

View File

@@ -46,6 +46,15 @@ String getRFIDlastUID(void)
return lastUid;
}
bool getRFIDlastUIDValid(void)
{
if(getRFIDlastUID() != "")
{
return true;
}
return false;
}
void setRFIDscanState(bool state)
{
RfidScanActive = state;