Fixed MSR mod names in JSON API

This commit is contained in:
SChernykh 2020-11-14 19:55:43 +01:00
parent 3bbe3fa481
commit 9a1e867da2
3 changed files with 4 additions and 2 deletions

View file

@ -74,7 +74,7 @@ static const std::array<MsrItems, kMsrArraySize> msrPresets = {
MsrItems()
};
static const std::array<const char *, kMsrArraySize> modNames = { "none", "ryzen_17h", "ryzen_19h", "intel", "custom" };
static const std::array<const char *, kMsrArraySize> modNames = { MSR_NAMES_LIST };
static_assert (kMsrArraySize == ICpuInfo::MSR_MOD_MAX, "kMsrArraySize and MSR_MOD_MAX mismatch");
#endif