mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
feat(efuse): Updates esp_efuse_get_pkg_ver
This commit is contained in:
parent
82ebce39f3
commit
e55ae515e2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user