diff options
Diffstat (limited to 'vibrator/vibrator.c')
-rw-r--r-- | vibrator/vibrator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vibrator/vibrator.c b/vibrator/vibrator.c index 3644356..22cc506 100644 --- a/vibrator/vibrator.c +++ b/vibrator/vibrator.c @@ -46,10 +46,10 @@ static int sendit(int timeout_ms) return (ret == nwr) ? 0 : -1; } -int vibrator_on() +int vibrator_on(int timeout_ms) { /* constant on, up to maximum allowed time */ - return sendit(-1); + return sendit(timeout_ms); } int vibrator_off() |