mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-23 15:56:59 +08:00
Merge pull request #1421 from turoksama/master
Fix a crash with null indev input in lv_indev_wait_release()
This commit is contained in:
@@ -297,6 +297,7 @@ void lv_indev_get_vect(const lv_indev_t * indev, lv_point_t * point)
|
||||
*/
|
||||
void lv_indev_wait_release(lv_indev_t * indev)
|
||||
{
|
||||
if(indev == NULL)return;
|
||||
indev->proc.wait_until_release = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user