aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/haptic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/haptic.cpp b/src/haptic.cpp
index 663e919..c7517d1 100644
--- a/src/haptic.cpp
+++ b/src/haptic.cpp
@@ -47,6 +47,7 @@ public:
{
ua_sensors_haptic_enable(m_sensor);
m_tag = g_timeout_add_seconds (2, on_timeout, this);
+ on_timeout (this);
}
}