Utilize BIT macro everywhere
This commit is contained in:
@@ -455,11 +455,11 @@ static int _dump_emmc_part(char *sd_path, sdmmc_storage_t *storage, emmc_part_t
|
||||
|
||||
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;
|
||||
|
||||
static void _dump_emmc_selected(emmcPartType_t dumpType)
|
||||
|
||||
Reference in New Issue
Block a user