1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

docs add static for lv_indev_drv_t (#2605)

* added static for lv_indev_drv_t

* removed accidential edit

* Update indev.md
This commit is contained in:
seteq 2021-09-29 10:31:35 +02:00 committed by GitHub
parent d57eb7614d
commit c77ac0d904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@
To register an input device an `lv_indev_drv_t` variable has to be initialized:
```c
lv_indev_drv_t indev_drv;
static lv_indev_drv_t indev_drv;
lv_indev_drv_init(&indev_drv); /*Basic initialization*/
indev_drv.type =... /*See below.*/
indev_drv.read_cb =... /*See below.*/