Fix Mifare NTAG read #1147

Fix #1145
This commit is contained in:
gornekich
2022-04-22 15:41:10 +03:00
committed by GitHub
parent f9140ac2cd
commit 799eb3f502
2 changed files with 7 additions and 7 deletions

View File

@@ -220,7 +220,7 @@ bool mf_classic_read_block(
tx_rx->tx_bits = 4 * 9;
tx_rx->tx_rx_type = FuriHalNfcTxRxTypeRaw;
if(furi_hal_nfc_tx_rx(tx_rx, 5)) {
if(furi_hal_nfc_tx_rx(tx_rx, 50)) {
if(tx_rx->rx_bits == 8 * 18) {
for(uint8_t i = 0; i < 18; i++) {
block->value[i] = crypto1_byte(crypto, 0, 0) ^ tx_rx->rx_data[i];