diff --git a/src/core/input_device.c b/src/core/input_device.c index 5bc4c3ef..9a069cd1 100644 --- a/src/core/input_device.c +++ b/src/core/input_device.c @@ -280,7 +280,9 @@ void rbtn_click(right_button_t click_type) { if (click_type == RIGHT_CLICK) { dvr_cmd(DVR_TOGGLE); } else if (click_type == RIGHT_LONG_PRESS) { + pthread_mutex_lock(&lvgl_mutex); step_topfan(); + pthread_mutex_unlock(&lvgl_mutex); } else if (click_type == RIGHT_DOUBLE_CLICK) { ht_set_center_position(); }