kopia lustrzana https://github.com/espressif/esp-idf
esp_hw_support: Fix version in esp_chip_info for C3 and H2
rodzic
a5964c442f
commit
e59269efa0
|
@ -13,6 +13,7 @@ void esp_chip_info(esp_chip_info_t *out_info)
|
|||
memset(out_info, 0, sizeof(*out_info));
|
||||
out_info->model = CHIP_ESP32C3;
|
||||
out_info->full_revision = efuse_hal_chip_revision();
|
||||
out_info->revision = efuse_hal_get_minor_chip_version();
|
||||
out_info->cores = 1;
|
||||
out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@ void esp_chip_info(esp_chip_info_t *out_info)
|
|||
memset(out_info, 0, sizeof(*out_info));
|
||||
out_info->model = CHIP_ESP32H2;
|
||||
out_info->full_revision = efuse_hal_chip_revision();
|
||||
out_info->revision = efuse_hal_get_major_chip_version();
|
||||
out_info->cores = 1;
|
||||
out_info->features = CHIP_FEATURE_IEEE802154 | CHIP_FEATURE_BLE;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue