rename common_area typedef and global
This commit is contained in:
1 parent
bc76c7263e
commit
d56d8f0f65
5 files changed
+38
-38
No files matched your search
@@ -120,7 +120,7 @@
|
||||
#define COMMON_AREA_MAGIC 0x43334d50 // "PM3C"
|
||||
#define COMMON_AREA_COMMAND_NONE 0
|
||||
#define COMMON_AREA_COMMAND_ENTER_FLASH_MODE 1
|
||||
struct common_area {
|
||||
typedef struct {
|
||||
int magic; /* Magic sequence, to distinguish against random uninitialized memory */
|
||||
char version; /* Must be 1 */
|
||||
char command;
|
||||
@@ -130,6 +130,6 @@ struct common_area {
|
||||
unsigned int button_pressed: 1;
|
||||
} PACKED flags;
|
||||
int arg1, arg2;
|
||||
} PACKED;
|
||||
} PACKED common_area_t;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user