disable cpuclock powersave updating for demo gadgets

devs/bu5hm4n/sandbox_fix
Mike Blumenkrantz 6 years ago
parent 3ddd090173
commit 753df97428
  1. 1
      src/modules/sysinfo/cpuclock/cpuclock.c

@ -208,6 +208,7 @@ _cpuclock_event_cb_powersave(void *data, int type, void *event)
if (type != E_EVENT_POWERSAVE_UPDATE) return ECORE_CALLBACK_PASS_ON;
if (!inst->cfg->cpuclock.auto_powersave) return ECORE_CALLBACK_PASS_ON;
if (inst->cfg->id == -1) return ECORE_CALLBACK_RENEW;
ev = event;
if (!inst->cfg->cpuclock.status->orig_governor)

Loading…
Cancel
Save