fix PCD problem after selftest #402

This commit is contained in:
Rotzbua 2021-10-27 20:46:33 +02:00 committed by GitHub
parent ba72b92f07
commit c55995bb71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. // Test passed; all is good.
return true; return true;
} // End PCD_PerformSelfTest() } // End PCD_PerformSelfTest()