1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

Publishing T5577 page 1 block count macro (#3864)

* publishing t5577 page 1 block count macro

Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
Zinong Li
2024-09-02 05:03:56 -04:00
committed by GitHub
parent 7c88a4a8f1
commit 5272eb7550
2 changed files with 2 additions and 3 deletions

View File

@@ -13,9 +13,6 @@
#define T5577_OPCODE_PAGE_1 0b11 #define T5577_OPCODE_PAGE_1 0b11
#define T5577_OPCODE_RESET 0b00 #define T5577_OPCODE_RESET 0b00
#define T5577_BLOCKS_IN_PAGE_0 8
#define T5577_BLOCKS_IN_PAGE_1 4
static void t5577_start(void) { static void t5577_start(void) {
furi_hal_rfid_tim_read_start(125000, 0.5); furi_hal_rfid_tim_read_start(125000, 0.5);

View File

@@ -7,6 +7,8 @@ extern "C" {
#endif #endif
#define LFRFID_T5577_BLOCK_COUNT 8 #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! // T5577 block 0 definitions, thanks proxmark3!
#define LFRFID_T5577_POR_DELAY 0x00000001 #define LFRFID_T5577_POR_DELAY 0x00000001