This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository enlightenment.
View the commit online.
commit 875f0a644e69dda399286b53b1de3104b07a926c
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Sat Nov 30 19:43:53 2024 +0000
cpufreq - fix low/hi power
---
src/modules/cpufreq/e_mod_main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/modules/cpufreq/e_mod_main.c b/src/modules/cpufreq/e_mod_main.c
index b602c91a7..cfa4c2b04 100644
--- a/src/modules/cpufreq/e_mod_main.c
+++ b/src/modules/cpufreq/e_mod_main.c
@@ -403,8 +403,8 @@ _cpufreq_event_cb_powersave(void *data EINA_UNUSED, int type EINA_UNUSED, void *
printf("PWSV: none\n");
EINA_FALLTHROUGH;
case E_POWERSAVE_MODE_LOW:
- printf("PWSV: low=%i\n", cpufreq_config->power_lo);
- cpf_perf_level_set(cpufreq_config->power_lo);
+ printf("PWSV: low=%i\n", cpufreq_config->power_hi);
+ cpf_perf_level_set(cpufreq_config->power_hi);
break;
case E_POWERSAVE_MODE_MEDIUM:
@@ -414,8 +414,8 @@ _cpufreq_event_cb_powersave(void *data EINA_UNUSED, int type EINA_UNUSED, void *
printf("PWSV: hi\n");
EINA_FALLTHROUGH;
case E_POWERSAVE_MODE_EXTREME:
- printf("PWSV: extreme=%i\n", cpufreq_config->power_hi);
- cpf_perf_level_set(cpufreq_config->power_hi);
+ printf("PWSV: extreme=%i\n", cpufreq_config->power_lo);
+ cpf_perf_level_set(cpufreq_config->power_lo);
break;
case E_POWERSAVE_MODE_FREEZE:
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.