mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-18 18:40:13 +00:00
feat(efuse): Update efuses for C5 and C61
This commit is contained in:
@@ -23,7 +23,9 @@ static __attribute__((unused)) const char *TAG = "efuse";
|
||||
uint32_t esp_efuse_get_pkg_ver(void)
|
||||
{
|
||||
uint32_t pkg_ver = 0;
|
||||
#ifdef EFUSE_PKG_VERSION
|
||||
esp_efuse_read_field_blob(ESP_EFUSE_PKG_VERSION, &pkg_ver, ESP_EFUSE_PKG_VERSION[0]->bit_count);
|
||||
#endif
|
||||
return pkg_ver;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user