cpuclock - fix default freq to be in khz as it should be - fix warn

enlightenment-0.24
Carsten Haitzler 3 years ago
parent 8dd052e6e3
commit 8a2c4ea70e
  1. 8
      src/modules/sysinfo/cpuclock/cpuclock.c

@ -317,10 +317,10 @@ _cpuclock_config_updated(Instance *inst)
if (inst->cfg->id == -1)
{
inst->cfg->cpuclock.status->cur_frequency = 3.0;
inst->cfg->cpuclock.status->can_set_frequency = 1;
inst->cfg->cpuclock.status->cur_min_frequency = 0.5;
inst->cfg->cpuclock.status->cur_max_frequency = 3.5;
inst->cfg->cpuclock.status->cur_frequency = 3000000;
inst->cfg->cpuclock.status->can_set_frequency = 1000000;
inst->cfg->cpuclock.status->cur_min_frequency = 500000;
inst->cfg->cpuclock.status->cur_max_frequency = 3500000;
return;
}
if (inst->cfg->cpuclock.status->frequencies)

Loading…
Cancel
Save