summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpr.jung <pr.jung@samsung.com>2019-01-31 17:17:11 +0900
committerpr.jung <pr.jung@samsung.com>2019-03-11 14:51:55 +0900
commit3bfa6bac54b3f418e02e3280f186597a72c6e11c (patch)
tree39a554beb23b314c14c80289c937b5a2f65a66e7
parent223295999599895aa38c4a21d414286314ee7d88 (diff)
downloadlibsvi-3bfa6bac54b3f418e02e3280f186597a72c6e11c.tar.gz
libsvi-3bfa6bac54b3f418e02e3280f186597a72c6e11c.tar.bz2
libsvi-3bfa6bac54b3f418e02e3280f186597a72c6e11c.zip
Change-Id: Ibf38bb012c4dcb5bb03c18020cc48bad19c9f7dc Signed-off-by: pr.jung <pr.jung@samsung.com>
-rw-r--r--src/vibrator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vibrator.c b/src/vibrator.c
index 616bfee..942cca8 100644
--- a/src/vibrator.c
+++ b/src/vibrator.c
@@ -43,7 +43,7 @@ enum haptic_iteration {
#define METHOD_OPEN "OpenDevice"
#define METHOD_CLOSE "CloseDevice"
-#define METHOD_VIBRATE_EFFECT "VibrateEffect"
+#define METHOD_VIBRATE_PATTERN "VibratePattern"
#define METHOD_STOP "StopDevice"
#define METHOD_IS_SUPPORTED "IsSupported"
#define METHOD_GET_EFFECT "GetEffect"
@@ -132,7 +132,7 @@ static int haptic_vibrate_effect(unsigned int handle,
arr[3] = buf_priority;
return dbus_method_sync(VIBRATOR_BUS_NAME, VIBRATOR_PATH_HAPTIC,
- VIBRATOR_INTERFACE_HAPTIC, METHOD_VIBRATE_EFFECT,
+ VIBRATOR_INTERFACE_HAPTIC, METHOD_VIBRATE_PATTERN,
"usii", arr);
}