From decabbae0c7d2ea4a1c9992494d9145789117042 Mon Sep 17 00:00:00 2001 From: tharexde Date: Sun, 25 Oct 2020 16:37:35 +0100 Subject: [PATCH] new parameter in struct due to new function 4x50_restore --- include/em4x50.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/em4x50.h b/include/em4x50.h index 2bb490203..63efb7a13 100644 --- a/include/em4x50.h +++ b/include/em4x50.h @@ -39,6 +39,7 @@ #define STATUS_LOGIN 0x1 #define NO_CHARS_MAX 400 #define TIMEOUT 2000 +#define RESTORE_DEFAULT_FILENAME "lf-4x50restore.bin" typedef struct { bool addr_given; @@ -47,10 +48,11 @@ typedef struct { uint32_t password2; uint32_t word; uint32_t addresses; -} em4x50_data_t; + uint8_t data[136]; +} PACKED em4x50_data_t; typedef struct { uint8_t byte[4]; -} em4x50_word_t; +} PACKED em4x50_word_t; #endif /* EM4X50_H__ */