esp_hw_support: Fix version in esp_chip_info for C3 and H2

pull/11369/head
KonstantinKondrashov 2022-12-20 17:22:32 +08:00
rodzic a5964c442f
commit e59269efa0
2 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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

Wyświetl plik

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