vibra: Some style and comment fixes

Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
Guido Günther
2025-05-09 19:37:41 +00:00
parent 5cbd5a2893
commit 32cf0758d2
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ do_pattern_step (FbdFeedbackVibraPattern *self)
*magnitude,
*duration);
/* Removing any pending effect */
/* Remove any pending effect */
fbd_dev_vibra_remove_effect (dev);
if (*magnitude != 0.0) {
+4 -1
View File
@@ -1,6 +1,9 @@
/*
* Copyright (C) 2020 Purism SPC
* 2024-2025 The Phosh Developers
*
* SPDX-License-Identifier: GPL-3.0+
*
* Author: Guido Günther <agx@sigxcpu.org>
*/
@@ -94,7 +97,7 @@ fbd_feedback_vibra_end (FbdFeedbackBase *base)
g_return_if_fail (klass->end_vibra);
klass->end_vibra (self);
g_clear_handle_id (&priv->timer_id, g_source_remove);
fbd_feedback_base_done (FBD_FEEDBACK_BASE(self));
fbd_feedback_base_done (FBD_FEEDBACK_BASE (self));
}