From 3c7680264c7af2f563d855fa296fb8b930e9862f Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 18 Jan 2024 16:21:45 +0100 Subject: [PATCH] forgot --- client/src/cmdlfem4x05.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/client/src/cmdlfem4x05.h b/client/src/cmdlfem4x05.h index ed472a803..8287b9495 100644 --- a/client/src/cmdlfem4x05.h +++ b/client/src/cmdlfem4x05.h @@ -21,13 +21,14 @@ #include "common.h" -#define EM_SERIAL_BLOCK 1 -#define EM_CONFIG_BLOCK 4 -#define EM4305_PROT1_BLOCK 14 -#define EM4305_PROT2_BLOCK 15 -#define EM4469_PROT_BLOCK 3 +#define EM_SERIAL_BLOCK 1 +#define EM_CONFIG_BLOCK 4 +#define EM4305_PROT1_BLOCK 14 +#define EM4305_PROT2_BLOCK 15 +#define EM4469_PROT_BLOCK 3 #define EM4X05_BITS_BUFSIZE 128 +#define EM4X05_BLOCK_SIZE 4 // config blocks #define EM4305_DEFAULT_CONFIG_BLOCK (EM4x05_SET_BITRATE(32) | EM4x05_MODULATION_MANCHESTER | EM4x05_SET_NUM_BLOCKS(4) ) // ASK/MAN , data rate 32, 4 data blocks