hos-sys: remove global target (doesnt compile)

mb
This commit is contained in:
souldbminersmwc
2025-11-10 18:22:51 -05:00
parent 7d261c5f41
commit 30dd6c2536
2 changed files with 16 additions and 18 deletions

View File

@@ -281,15 +281,13 @@ void ClockManager::Tick()
for (unsigned int module = 0; module < SysClkModule_EnumMax; module++)
{
targetHz = this->context->overrideFreqs[module];
globalTargetHz = this->context->overrideFreqs[module];
if (!targetHz)
{
targetHz = this->config->GetAutoClockHz(this->context->applicationId, (SysClkModule)module, this->context->profile);
globalTargetHz = this->config->GetAutoClockHz(SYSCLK_GLOBAL_PROFILE_TID, (SysClkModule)module, this->context->profile);
}
if (targetHz || globalTargetHz)
if (targetHz)
{
maxHz = this->GetMaxAllowedHz((SysClkModule)module, this->context->profile);
nearestHz = this->GetNearestHz((SysClkModule)module, targetHz, maxHz);