Add support for PAC/Stanley tags (#1648)

* Add support for PAC/Stanley tags
* Address review comments
This commit is contained in:
Sebastian Mauer
2022-08-29 16:04:17 +01:00
committed by GitHub
parent ffa3ff5e7c
commit 1350dcaf63
10 changed files with 287 additions and 6 deletions

View File

@@ -782,7 +782,7 @@ static void nfc_device_load_mifare_classic_block(
char hi = string_get_char(block_str, 3 * i);
char low = string_get_char(block_str, 3 * i + 1);
uint8_t byte = 0;
if(hex_chars_to_uint8(hi, low, &byte)) {
if(hex_char_to_uint8(hi, low, &byte)) {
block_tmp.value[i] = byte;
} else {
FURI_BIT_SET(block_unknown_bytes_mask, i);