bugfix: fix esp32c6eco1 fosc calibration cycles during sleep

This commit is contained in:
wuzhenghui
2023-05-04 11:46:21 +08:00
parent cac7a5c9cb
commit dd4d1bbe90
8 changed files with 53 additions and 1 deletions

View File

@@ -16,12 +16,20 @@
uint32_t efuse_hal_get_major_chip_version(void)
{
#ifdef CONFIG_ESP_REV_NEW_CHIP_TEST
return CONFIG_ESP_REV_MIN_FULL / 100;
#else
return efuse_ll_get_chip_wafer_version_major();
#endif
}
uint32_t efuse_hal_get_minor_chip_version(void)
{
#ifdef CONFIG_ESP_REV_NEW_CHIP_TEST
return CONFIG_ESP_REV_MIN_FULL % 100;
#else
return efuse_ll_get_chip_wafer_version_minor();
#endif
}
/******************* eFuse control functions *************************/