diff options
Diffstat (limited to 'include/hardware_legacy/vibrator.h')
-rw-r--r-- | include/hardware_legacy/vibrator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/hardware_legacy/vibrator.h b/include/hardware_legacy/vibrator.h index 5245aeb..15fd942 100644 --- a/include/hardware_legacy/vibrator.h +++ b/include/hardware_legacy/vibrator.h @@ -24,9 +24,11 @@ extern "C" { /** * Turn on vibrator * + * @param timeout_ms number of milliseconds to vibrate + * * @return 0 if successful, -1 if error */ -int vibrator_on(); +int vibrator_on(int timeout_ms); /** * Turn off vibrator |