optimize statemachine

This commit is contained in:
2023-01-02 07:42:16 +01:00
parent ae2dde8e63
commit bde3daae53
5 changed files with 59 additions and 39 deletions

View File

@@ -48,11 +48,11 @@ String getRFIDlastUID(void)
bool getRFIDlastUIDValid(void)
{
if(getRFIDlastUID() != "")
if(lastUid == "")
{
return true;
return false;
}
return false;
return (getUIDvalid(lastUid));
}
void setRFIDscanState(bool state)