fix build bug and change feedback time
authorjy910.yun <jy910.yun@samsung.com>
Thu, 6 Sep 2012 07:17:50 +0000 (16:17 +0900)
committerjy910.yun <jy910.yun@samsung.com>
Thu, 6 Sep 2012 07:47:59 +0000 (16:47 +0900)
Change-Id: I9077e9cca83b587c289e0547025a6dcf6f253d31

packaging/libsvi.spec
svi.c

index 24bd566..2b27d4a 100755 (executable)
@@ -50,7 +50,7 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/svi.pc
 
 %changelog
-* Thr Sep 06 2012 - Jiyoung Yun <jy910.yun@samsung.com>
+* Thu Sep 06 2012 - Jiyoung Yun <jy910.yun@samsung.com>
 - if there isnt' haptic resource, it plays monotone
 - Tag : libsvi_0.1.2-8
 
diff --git a/svi.c b/svi.c
index bb797ed..33ce7ff 100755 (executable)
--- a/svi.c
+++ b/svi.c
@@ -333,7 +333,7 @@ API int svi_play_vib(int handle, vibration_type vibration_key)
 
                                int ret = 0;
                                if (file_status == 0) {
-                                       ret = device_haptic_play_monotone_with_feedback_level(handle, 1000, vib_level);
+                                       ret = device_haptic_play_monotone_with_feedback_level(handle, 50, vib_level);
                                        if (ret < 0) {
                                                SVILOG("ERROR!! device_haptic_play_monotone_with_feedback_level returned error(%d).", ret);
                                                return SVI_ERROR;