Skip to content

Commit

Permalink
Publishing T5577 page 1 block count macro (#3864)
Browse files Browse the repository at this point in the history
* publishing t5577 page 1 block count macro

Co-authored-by: Aleksandr Kutuzov <[email protected]>
  • Loading branch information
zinongli and skotopes authored Sep 2, 2024
1 parent 7c88a4a commit 5272eb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/lfrfid/tools/t5577.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 2 additions & 0 deletions lib/lfrfid/tools/t5577.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5272eb7

Please sign in to comment.