optimize statemachine
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user