From 8b3719d8b71d0ce980cf5ff19eb00edf77ed4147 Mon Sep 17 00:00:00 2001 From: "pr.jung" Date: Thu, 22 Jun 2017 16:18:41 +0900 Subject: [PATCH] haptic: Only need to check whether next node is existed - If there is next node on vibration_data and waiting time is 0, haptic play should be continued Change-Id: Ifea12490663f90997b9e19e24036b8693a651abc Signed-off-by: pr.jung --- src/haptic/standard-vibcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haptic/standard-vibcore.c b/src/haptic/standard-vibcore.c index 4cebcf7..3a828b1 100644 --- a/src/haptic/standard-vibcore.c +++ b/src/haptic/standard-vibcore.c @@ -205,7 +205,7 @@ static Eina_Bool haptic_duration_play(void *data) break; } - if (node->wait && next) { + if (next) { h_data->vibration_data = next; duration_timer = ecore_timer_add((node->duration + node->wait)/1000.0f, haptic_duration_play, (void *)h_data); } else -- 2.7.4