[fix] added global state fetch
This commit is contained in:
parent
99ee28d51b
commit
ae088ad453
|
@ -388,10 +388,10 @@
|
|||
|
||||
// {2} If not updated -> error //
|
||||
if( !$updateds )
|
||||
slog("Cannot update chips to '".implode('',$state)."'", 'mfrc522:loop');
|
||||
slog("Cannot update chips to '".implode('',get_gstate())."'", 'mfrc522:loop');
|
||||
// {3} If updated -> success //
|
||||
else
|
||||
slog("Chips updated to ".implode('',$state)."'", 'mfrc522:loop');
|
||||
slog("Chips updated to ".implode('',get_gstate())."'", 'mfrc522:loop');
|
||||
|
||||
/* (3) If not performed -> log error */
|
||||
}else
|
||||
|
|
Loading…
Reference in New Issue