This commit is contained in:
souldbminersmwc
2026-04-01 15:58:44 -04:00

View File

@@ -201,8 +201,7 @@ static inline const char* sysclkFormatModule(SysClkModule module, bool pretty)
static inline const char* sysclkFormatThermalSensor(SysClkThermalSensor thermSensor, bool pretty)
{
switch(thermSensor)
{
switch(thermSensor) {
case SysClkThermalSensor_SOC:
return pretty ? "SOC" : "soc";
case SysClkThermalSensor_PCB:
@@ -219,6 +218,8 @@ static inline const char* sysclkFormatThermalSensor(SysClkThermalSensor thermSen
return pretty ? "GPU" : "gpu";
case HorizonOCThermalSensor_MEM:
return pretty ? "MEM" : "mem";
case HorizonOCThermalSensor_PLLX:
return pretty ? "PLLX" : "pllx";
default:
return NULL;
}
@@ -276,4 +277,4 @@ static inline const char* hocClkFormatVoltage(HocClkVoltage voltage, bool pretty
default:
return NULL;
}
}
}