feat(efuse): Updates esp_efuse_get_pkg_ver

This commit is contained in:
Konstantin Kondrashov 2024-08-15 18:26:44 +03:00
parent 82ebce39f3
commit e55ae515e2

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