mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-06 05:10:36 +00:00
refactor(hal): use HAL_CONFIG() macro function
This commit is contained in:
@@ -29,7 +29,7 @@ IRAM_ATTR uint32_t efuse_hal_get_major_chip_version(void)
|
||||
case 3:
|
||||
chip_ver = 2;
|
||||
break;
|
||||
#if HAL_CONFIG_EFUSE_ENV_FPGA
|
||||
#if HAL_CONFIG(EFUSE_ENV_FPGA)
|
||||
case 4: /* Empty efuses, but SYSCON_DATE_REG bit is set */
|
||||
chip_ver = 3;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user