Utilize BIT macro everywhere

This commit is contained in:
CTCaer committed 2020-11-26 01:41:45 +02:00
1 parent 94486873c1
commit cabaa6cfb8
43 files changed
+517 -515

No files matched your search

+5 -5
View File
@@ -22,11 +22,11 @@
typedef enum
{
PART_BOOT = (1 << 0),
PART_SYSTEM = (1 << 1),
PART_USER = (1 << 2),
PART_RAW = (1 << 3),
PART_GP_ALL = (1 << 7)
PART_BOOT = BIT(0),
PART_SYSTEM = BIT(1),
PART_USER = BIT(2),
PART_RAW = BIT(3),
PART_GP_ALL = BIT(7)
} emmcPartType_t;
void dump_emmc_selected(emmcPartType_t dumpType, emmc_tool_gui_t *gui);