diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2013-04-24 15:59:16 +0100 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2013-04-24 16:01:42 +0100 |
commit | 5e4d26a1aad5275555b753823b8f9c3802d601bf (patch) | |
tree | 392ca40423b9effd91078731f66b703fa8c6f969 | |
parent | daac3fb794ce8ddcaa825066627ee72858b86264 (diff) | |
download | efl-5e4d26a1aad5275555b753823b8f9c3802d601bf.tar.gz |
eeze/sensor/tizen: Fix typos to let it build for tizen
Finally have a way to compile the merged efl tree against the latest tizen
things. Only three typos after all this changes it quite good imho. Zero
would have been better though. :)
-rw-r--r-- | src/modules/eeze/sensor/tizen/tizen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/eeze/sensor/tizen/tizen.c b/src/modules/eeze/sensor/tizen/tizen.c index 5217aeab33..93bea0344e 100644 --- a/src/modules/eeze/sensor/tizen/tizen.c +++ b/src/modules/eeze/sensor/tizen/tizen.c @@ -731,7 +731,7 @@ proximity_read_cb(unsigned long long timestamp, float distance, void *user_data) return; } /* We have to set this ourselves because we don't get it for this type */ - bj->accuracy = -1; + obj->accuracy = -1; obj->data[0] = distance; obj->timestamp = clock_convert(timestamp); ecore_event_add(EEZE_SENSOR_EVENT_PROXIMITY, obj, _dummy_free, NULL); @@ -1316,9 +1316,9 @@ eeze_sensor_tizen_init(void) sensor_start(sensor_handle, SENSOR_MOTION_FACEDOWN); sensor_start(sensor_handle, SENSOR_MOTION_DOUBLETAP); sensor_motion_doubletap_set_cb(sensor_handle, doubletap_cb, - eeze_sensor_obj_get(EEZE_SENSOR_TYPE_DOUBLETAP)); + eeze_sensor_obj_get(EEZE_SENSOR_TYPE_MOTION_DOUBLETAP)); sensor_motion_facedown_set_cb(sensor_handle, facedown_cb, - eeze_sensor_obj_get(EEZE_SENSOR_TYPE_FACEDOWN)); + eeze_sensor_obj_get(EEZE_SENSOR_TYPE_MOTION_FACEDOWN)); return EINA_TRUE; } |