Merge pull request #1983 from 0xdanneh/hitag2-password-write-timing

'Fix' writing on hitag2 in password mode
This commit is contained in:
Iceman
2023-05-23 12:37:08 +02:00
committed by GitHub

View File

@@ -655,6 +655,7 @@ static bool hitag2_password(uint8_t *rx, const size_t rxlen, uint8_t *tx, size_t
*txlen = 0;
if (bPwd && (bAuthenticating == false) && write) {
SpinDelay(2);
if (hitag2_write_page(rx, rxlen, tx, txlen) == false) {
return false;
}