Skip to content

Commit 5272eb7

Browse files
zinongliskotopes
andauthored
Publishing T5577 page 1 block count macro (#3864)
* publishing t5577 page 1 block count macro Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
1 parent 7c88a4a commit 5272eb7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/lfrfid/tools/t5577.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
#define T5577_OPCODE_PAGE_1 0b11
1414
#define T5577_OPCODE_RESET 0b00
1515

16-
#define T5577_BLOCKS_IN_PAGE_0 8
17-
#define T5577_BLOCKS_IN_PAGE_1 4
18-
1916
static void t5577_start(void) {
2017
furi_hal_rfid_tim_read_start(125000, 0.5);
2118

lib/lfrfid/tools/t5577.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ extern "C" {
77
#endif
88

99
#define LFRFID_T5577_BLOCK_COUNT 8
10+
#define T5577_BLOCKS_IN_PAGE_0 8
11+
#define T5577_BLOCKS_IN_PAGE_1 4
1012

1113
// T5577 block 0 definitions, thanks proxmark3!
1214
#define LFRFID_T5577_POR_DELAY 0x00000001

0 commit comments

Comments
 (0)