summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooyoung Ha <yoosah.ha@samsung.com>2013-04-02 17:21:44 +0900
committerSooyoung Ha <yoosah.ha@samsung.com>2013-04-02 17:21:44 +0900
commit1692a2c965816aef0d0e990668d586472ffe1992 (patch)
tree4824569b7f25dc48c94b105d47d8407288ceffef
parentf9a65a8159808cd60f7fd15d261aecd3634c762e (diff)
downloademulator-plugin-accel-proc-1692a2c965816aef0d0e990668d586472ffe1992.tar.gz
emulator-plugin-accel-proc-1692a2c965816aef0d0e990668d586472ffe1992.tar.bz2
emulator-plugin-accel-proc-1692a2c965816aef0d0e990668d586472ffe1992.zip
modify get_property function for property info
-rw-r--r--packaging/sf-plugin-proc-accel-emul.spec2
-rw-r--r--src/accel_sim_processor.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/sf-plugin-proc-accel-emul.spec b/packaging/sf-plugin-proc-accel-emul.spec
index 3de4abc..d2774c5 100644
--- a/packaging/sf-plugin-proc-accel-emul.spec
+++ b/packaging/sf-plugin-proc-accel-emul.spec
@@ -1,6 +1,6 @@
#git:/slp/pkgs/e/emulator-plugin-accel-proc
Name: sf-plugin-proc-accel-emul
-Version: 0.2.18
+Version: 0.2.19
Release: 1
Summary: Accel simulator Processor plugin for sensor framework (using setting)
Group: System Environment/Libraries
diff --git a/src/accel_sim_processor.cpp b/src/accel_sim_processor.cpp
index 151f545..586a588 100644
--- a/src/accel_sim_processor.cpp
+++ b/src/accel_sim_processor.cpp
@@ -885,8 +885,8 @@ int accel_sim_processor::get_property(unsigned int property_level , void *proper
base_property_struct *return_property;
return_property = (base_property_struct *)property_data;
- if (m_sensor) {
- result = m_sensor->get_property(ACCELEROMETER_BASE_DATA_SET , return_property);
+ if (m_filter) {
+ result = m_filter->get_property(ACCELEROMETER_BASE_DATA_SET , return_property);
if(result == 0)
{
if(property_level == ACCELEROMETER_BASE_DATA_SET)