mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
rename common_area typedef and global
This commit is contained in:
parent
bc76c7263e
commit
d56d8f0f65
5 changed files with 38 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue