summaryrefslogtreecommitdiff
path: root/src/haptic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/haptic.c')
-rw-r--r--src/haptic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/haptic.c b/src/haptic.c
index c05fd2a..186a92f 100644
--- a/src/haptic.c
+++ b/src/haptic.c
@@ -173,7 +173,6 @@ int haptic_vibrate_monotone(int device_index, int duration_ms, int level)
if(level == HAPTIC_LEVEL_0)
return HAPTIC_ERROR_NONE;
- level = (level == HAPTIC_LEVEL_AUTO) ? 0 : level;
ret = device_haptic_play_monotone_with_detail_feedback_level(haptic_ids[device_index], duration_ms, level);
if(ret < 0){