Skip to content

Commit 04eb58c

Browse files
cyringCyrIng
authored and
CyrIng
committed
[CLI] Fixing ambiguous CPPC report: hardware vs firmware
1 parent 0edb4e9 commit 04eb58c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

corefreq-cli.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4107,9 +4107,10 @@ REASON_CODE SysInfoPerfMon(Window *win, CUINT width, CELL_FUNC OutFunc)
41074107
if ( (RO(Shm)->Proc.Features.Info.Vendor.CRC == CRC_AMD)
41084108
|| (RO(Shm)->Proc.Features.Info.Vendor.CRC == CRC_HYGON) )
41094109
{
4110-
if ((bix |= RO(Shm)->Proc.Features.ACPI_CPPC) == 1)
4110+
if (RO(Shm)->Proc.Features.ACPI_CPPC == 1)
41114111
{
4112-
GridHover( PUT( BOXKEY_FMW_CPPC, attrib[bix], width, 2,
4112+
GridHover( PUT( BOXKEY_FMW_CPPC,
4113+
attrib[RO(Shm)->Proc.Features.ACPI_CPPC], width, 2,
41134114
"%s%.*s%s <%3s>", RSC(PERF_MON_CPPC).CODE(),
41144115
width - 19 - RSZ(PERF_MON_CPPC), hSpace,
41154116
RSC(PERF_LABEL_CPPC).CODE(), RSC(FMW).CODE() ),

0 commit comments

Comments
 (0)