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:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user