Skip to content

Commit

Permalink
fix PCD problem after selftest #402
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Oct 27, 2021
1 parent ba72b92 commit c55995b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/MFRC522.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c55995b

Please sign in to comment.