Fixed MSR mod names in JSON API
This commit is contained in:
parent
3bbe3fa481
commit
9a1e867da2
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue