Align macros indentation with the rest of the code
This commit is contained in:
parent
5bd27a9d68
commit
32c6ed8f32
1 changed files with 17 additions and 16 deletions
|
|
@ -300,7 +300,7 @@ bit 0: PICC master key frozen (reversible with configuration change or when form
|
||||||
(free_create_delete_application << 2) | \
|
(free_create_delete_application << 2) | \
|
||||||
(free_listing_apps_and_key_settings << 1) | \
|
(free_listing_apps_and_key_settings << 1) | \
|
||||||
(picc_master_key_changeable) \
|
(picc_master_key_changeable) \
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Mifare DESFire EV1 Application crypto operations */
|
/* Mifare DESFire EV1 Application crypto operations */
|
||||||
|
|
||||||
|
|
@ -322,7 +322,7 @@ bit 0: PICC master key frozen (reversible with configuration change or when form
|
||||||
(free_create_delete_files << 2) | \
|
(free_create_delete_files << 2) | \
|
||||||
(free_listing_contents << 1) | \
|
(free_listing_contents << 1) | \
|
||||||
(app_master_key_changeable) \
|
(app_master_key_changeable) \
|
||||||
)
|
)
|
||||||
|
|
||||||
/* Access right */
|
/* Access right */
|
||||||
|
|
||||||
|
|
@ -331,7 +331,8 @@ bit 0: PICC master key frozen (reversible with configuration change or when form
|
||||||
(write << 8) | \
|
(write << 8) | \
|
||||||
(read_write << 4) | \
|
(read_write << 4) | \
|
||||||
(change_access_rights) \
|
(change_access_rights) \
|
||||||
)
|
)
|
||||||
|
|
||||||
#define MDAR_READ(ar) (((ar) >> 12) & 0x0f)
|
#define MDAR_READ(ar) (((ar) >> 12) & 0x0f)
|
||||||
#define MDAR_WRITE(ar) (((ar) >> 8) & 0x0f)
|
#define MDAR_WRITE(ar) (((ar) >> 8) & 0x0f)
|
||||||
#define MDAR_READ_WRITE(ar) (((ar) >> 4) & 0x0f)
|
#define MDAR_READ_WRITE(ar) (((ar) >> 4) & 0x0f)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue