mirror of
https://github.com/miguelbalboa/rfid.git
synced 2024-06-08 01:03:01 +03:00
fix PCD problem after selftest #402
This commit is contained in:
parent
ba72b92f07
commit
c55995bb71
|
@ -397,6 +397,11 @@ bool MFRC522::PCD_PerformSelfTest() {
|
|||
}
|
||||
}
|
||||
|
||||
// 8. Perform a re-init, because PCD does not work after test.
|
||||
// Reset does not work as expected.
|
||||
// "Auto self-test done" does not work as expected.
|
||||
PCD_Init();
|
||||
|
||||
// Test passed; all is good.
|
||||
return true;
|
||||
} // End PCD_PerformSelfTest()
|
||||
|
|
Loading…
Reference in New Issue
Block a user