From 6295bb1bbc928858a60373ce1680208dbeed734e Mon Sep 17 00:00:00 2001 From: Pascal Langer Date: Mon, 5 Apr 2021 17:43:42 +0200 Subject: [PATCH] Packed protocols definition to save space --- Multiprotocol/Multiprotocol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Multiprotocol/Multiprotocol.h b/Multiprotocol/Multiprotocol.h index 0d8fdca..cf921cb 100644 --- a/Multiprotocol/Multiprotocol.h +++ b/Multiprotocol/Multiprotocol.h @@ -19,7 +19,7 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 3 #define VERSION_REVISION 2 -#define VERSION_PATCH_LEVEL 68 +#define VERSION_PATCH_LEVEL 69 #define MODE_SERIAL 0 @@ -456,7 +456,7 @@ typedef uint16_t (*uint16_function_t) (void); //pointer to a function with no pa typedef void (*void_function_t ) (void); //pointer to a function with no parameters which returns nothing //Protocols definition -struct mm_protocol_definition { +struct __attribute__((__packed__)) mm_protocol_definition { uint8_t protocol; const char *ProtoString; const char *SubProtoString;