Updated: October 28, 2024 |
Destroy a timer
#include <gestures/timer.h>
void gesture_timer_destroy(struct gesture_base *gesture, int timer_id)
This function destroys the specified timer by resetting the timer data structure. It doesn't free any memory associated with the timer.
0 on success, or -1 on failure.