Merge branch 'feature/p4_efuse_get_pkg_ver_v5.3' into 'release/v5.3'

feat(efuse): Updates esp_efuse_get_pkg_ver (v5.3)

See merge request espressif/esp-idf!32931
This commit is contained in:
Marius Vikhammer 2024-09-10 10:00:10 +08:00
commit 2dea1035d9

View File

@ -24,6 +24,7 @@ static __attribute__((unused)) const char *TAG = "efuse";
uint32_t esp_efuse_get_pkg_ver(void)
{
uint32_t pkg_ver = 0;
esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, ESP_EFUSE_PKG_VERSION[0]->bit_count);
return pkg_ver;
}