mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 19:48:11 +00:00
Packed protocols definition to save space
This commit is contained in:
parent
931ba2bd68
commit
6295bb1bbc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user