refactor(hal): use HAL_CONFIG() macro function

This commit is contained in:
morris
2025-08-08 18:12:08 +08:00
parent 465c37d5eb
commit afd35e411a
12 changed files with 50 additions and 18 deletions

View File

@@ -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;