Capabilities versionning, would also detect platform struct pack issues
This commit is contained in:
1 parent
5aed3e04c9
commit
3412e9d8c5
3 files changed
+8
-1
No files matched your search
+2
-1
@@ -138,6 +138,7 @@ typedef struct {
|
||||
} t55xx_config;
|
||||
|
||||
typedef struct {
|
||||
uint8_t version;
|
||||
uint32_t baudrate;
|
||||
bool via_fpc : 1;
|
||||
// rdv4
|
||||
@@ -164,7 +165,7 @@ typedef struct {
|
||||
bool hw_available_flash : 1;
|
||||
bool hw_available_smartcard : 1;
|
||||
} PACKED capabilities_t;
|
||||
|
||||
#define CAPABILITIES_VERSION 1
|
||||
extern capabilities_t pm3_capabilities;
|
||||
|
||||
// For the bootloader
|
||||
|
||||
Reference in new issue
Block a user