clean up statemachine and simplify sensor
This commit is contained in:
@@ -46,6 +46,15 @@ String getRFIDlastUID(void)
|
||||
return lastUid;
|
||||
}
|
||||
|
||||
bool getRFIDlastUIDValid(void)
|
||||
{
|
||||
if(getRFIDlastUID() != "")
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void setRFIDscanState(bool state)
|
||||
{
|
||||
RfidScanActive = state;
|
||||
|
||||
Reference in New Issue
Block a user