mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-20 18:01:44 +00:00
touch_element: fix event callback parameter type, change it into pointer
This commit is contained in:
@@ -404,7 +404,7 @@ static inline void matrix_dispatch(te_matrix_handle_t matrix_handle, touch_elem_
|
||||
matrix_info.event = matrix_handle->event;
|
||||
matrix_info.position = matrix_handle->position;
|
||||
void *arg = matrix_handle->config->arg;
|
||||
matrix_handle->config->callback(matrix_handle, matrix_info, arg); //Event callback
|
||||
matrix_handle->config->callback(matrix_handle, &matrix_info, arg); //Event callback
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user