From 5272eb75500bca6927947f15f6d2aa828a6ab3b2 Mon Sep 17 00:00:00 2001 From: Zinong Li <131403964+zinongli@users.noreply.github.com> Date: Mon, 2 Sep 2024 05:03:56 -0400 Subject: [PATCH] Publishing T5577 page 1 block count macro (#3864) * publishing t5577 page 1 block count macro Co-authored-by: Aleksandr Kutuzov --- lib/lfrfid/tools/t5577.c | 3 --- lib/lfrfid/tools/t5577.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/lfrfid/tools/t5577.c b/lib/lfrfid/tools/t5577.c index 59ec7d27226..ce97cb32261 100644 --- a/lib/lfrfid/tools/t5577.c +++ b/lib/lfrfid/tools/t5577.c @@ -13,9 +13,6 @@ #define T5577_OPCODE_PAGE_1 0b11 #define T5577_OPCODE_RESET 0b00 -#define T5577_BLOCKS_IN_PAGE_0 8 -#define T5577_BLOCKS_IN_PAGE_1 4 - static void t5577_start(void) { furi_hal_rfid_tim_read_start(125000, 0.5); diff --git a/lib/lfrfid/tools/t5577.h b/lib/lfrfid/tools/t5577.h index 026e7290bb0..49c0b571447 100644 --- a/lib/lfrfid/tools/t5577.h +++ b/lib/lfrfid/tools/t5577.h @@ -7,6 +7,8 @@ extern "C" { #endif #define LFRFID_T5577_BLOCK_COUNT 8 +#define T5577_BLOCKS_IN_PAGE_0 8 +#define T5577_BLOCKS_IN_PAGE_1 4 // T5577 block 0 definitions, thanks proxmark3! #define LFRFID_T5577_POR_DELAY 0x00000001