From 3a35cb8324857bde15b5653e516aab9ed0632692 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 3 May 2021 21:29:06 +0200 Subject: [PATCH] structs to be used with device must be PACKED --- include/pm3_cmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pm3_cmd.h b/include/pm3_cmd.h index aefc36339..97dc91e49 100644 --- a/include/pm3_cmd.h +++ b/include/pm3_cmd.h @@ -350,7 +350,7 @@ typedef struct { typedef struct iclass_premac { uint8_t mac[4]; -} iclass_premac_t; +} PACKED iclass_premac_t; typedef struct { bool use_credit_key;