summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Poole <netstar@gmail.com>2017-02-13 11:18:50 +0100
committerStefan Schmidt <stefan@osg.samsung.com>2017-02-13 11:24:42 +0100
commit5388ea5f42023079f72dfd4c531eb2f3e72c1c5a (patch)
tree41c5ebcf1568e64c3c9dfa6e692fab659384cbff
parent8211a6f0e183792255f56faeb5a7304a598f7f3a (diff)
modules: temperature: Fix spelling for temperature module.
Reviewers: zmike! Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4500
-rw-r--r--src/modules/temperature/e_mod_main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/temperature/e_mod_main.c b/src/modules/temperature/e_mod_main.c
index 861e31332..2afb4018a 100644
--- a/src/modules/temperature/e_mod_main.c
+++ b/src/modules/temperature/e_mod_main.c
@@ -114,7 +114,7 @@ _temperature_apply(Config_Face *inst, int temp)
114 114
115#ifdef HAVE_EEZE 115#ifdef HAVE_EEZE
116static Eina_Bool 116static Eina_Bool
117_temprature_udev_poll(void *data) 117_temperature_udev_poll(void *data)
118{ 118{
119 Tempthread *tth = data; 119 Tempthread *tth = data;
120 int temp = temperature_udev_get(tth); 120 int temp = temperature_udev_get(tth);
@@ -323,7 +323,7 @@ _temperature_face_id_max(const Eina_Hash *hash EINA_UNUSED, const void *key, voi
323} 323}
324 324
325static void 325static void
326_temprature_check_main(void *data, Ecore_Thread *th) 326_temperature_check_main(void *data, Ecore_Thread *th)
327{ 327{
328 Tempthread *tth = data; 328 Tempthread *tth = data;
329 int ptemp = -500, temp; 329 int ptemp = -500, temp;
@@ -340,7 +340,7 @@ _temprature_check_main(void *data, Ecore_Thread *th)
340} 340}
341 341
342static void 342static void
343_temprature_check_notify(void *data, Ecore_Thread *th, void *msg) 343_temperature_check_notify(void *data, Ecore_Thread *th, void *msg)
344{ 344{
345 Tempthread *tth = data; 345 Tempthread *tth = data;
346 Config_Face *inst = tth->inst; 346 Config_Face *inst = tth->inst;
@@ -351,7 +351,7 @@ _temprature_check_notify(void *data, Ecore_Thread *th, void *msg)
351} 351}
352 352
353static void 353static void
354_temprature_check_done(void *data, Ecore_Thread *th EINA_UNUSED) 354_temperature_check_done(void *data, Ecore_Thread *th EINA_UNUSED)
355{ 355{
356 _temperature_thread_free(data); 356 _temperature_thread_free(data);
357} 357}
@@ -374,15 +374,15 @@ temperature_face_update_config(Config_Face *inst)
374 if (inst->backend != TEMPGET) 374 if (inst->backend != TEMPGET)
375 { 375 {
376 inst->poller = ecore_poller_add(ECORE_POLLER_CORE, inst->poll_interval, 376 inst->poller = ecore_poller_add(ECORE_POLLER_CORE, inst->poll_interval,
377 _temprature_udev_poll, tth); 377 _temperature_udev_poll, tth);
378 inst->tth = tth; 378 inst->tth = tth;
379 } 379 }
380 else 380 else
381#endif 381#endif
382 inst->th = ecore_thread_feedback_run(_temprature_check_main, 382 inst->th = ecore_thread_feedback_run(_temperature_check_main,
383 _temprature_check_notify, 383 _temperature_check_notify,
384 _temprature_check_done, 384 _temperature_check_done,
385 _temprature_check_done, 385 _temperature_check_done,
386 tth, EINA_TRUE); 386 tth, EINA_TRUE);
387} 387}
388 388