modules: temperature: Fix spelling for temperature module.

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4500
devs/bu5hm4n/luncher_verbose
Al Poole 6 years ago committed by Stefan Schmidt
parent 8211a6f0e1
commit 5388ea5f42
  1. 18
      src/modules/temperature/e_mod_main.c

@ -114,7 +114,7 @@ _temperature_apply(Config_Face *inst, int temp)
#ifdef HAVE_EEZE
static Eina_Bool
_temprature_udev_poll(void *data)
_temperature_udev_poll(void *data)
{
Tempthread *tth = data;
int temp = temperature_udev_get(tth);
@ -323,7 +323,7 @@ _temperature_face_id_max(const Eina_Hash *hash EINA_UNUSED, const void *key, voi
}
static void
_temprature_check_main(void *data, Ecore_Thread *th)
_temperature_check_main(void *data, Ecore_Thread *th)
{
Tempthread *tth = data;
int ptemp = -500, temp;
@ -340,7 +340,7 @@ _temprature_check_main(void *data, Ecore_Thread *th)
}
static void
_temprature_check_notify(void *data, Ecore_Thread *th, void *msg)
_temperature_check_notify(void *data, Ecore_Thread *th, void *msg)
{
Tempthread *tth = data;
Config_Face *inst = tth->inst;
@ -351,7 +351,7 @@ _temprature_check_notify(void *data, Ecore_Thread *th, void *msg)
}
static void
_temprature_check_done(void *data, Ecore_Thread *th EINA_UNUSED)
_temperature_check_done(void *data, Ecore_Thread *th EINA_UNUSED)
{
_temperature_thread_free(data);
}
@ -374,15 +374,15 @@ temperature_face_update_config(Config_Face *inst)
if (inst->backend != TEMPGET)
{
inst->poller = ecore_poller_add(ECORE_POLLER_CORE, inst->poll_interval,
_temprature_udev_poll, tth);
_temperature_udev_poll, tth);
inst->tth = tth;
}
else
#endif
inst->th = ecore_thread_feedback_run(_temprature_check_main,
_temprature_check_notify,
_temprature_check_done,
_temprature_check_done,
inst->th = ecore_thread_feedback_run(_temperature_check_main,
_temperature_check_notify,
_temperature_check_done,
_temperature_check_done,
tth, EINA_TRUE);
}

Loading…
Cancel
Save