mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +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:
parent
d57eb7614d
commit
c77ac0d904
@ -9,7 +9,7 @@
|
|||||||
To register an input device an `lv_indev_drv_t` variable has to be initialized:
|
To register an input device an `lv_indev_drv_t` variable has to be initialized:
|
||||||
|
|
||||||
```c
|
```c
|
||||||
lv_indev_drv_t indev_drv;
|
static lv_indev_drv_t indev_drv;
|
||||||
lv_indev_drv_init(&indev_drv); /*Basic initialization*/
|
lv_indev_drv_init(&indev_drv); /*Basic initialization*/
|
||||||
indev_drv.type =... /*See below.*/
|
indev_drv.type =... /*See below.*/
|
||||||
indev_drv.read_cb =... /*See below.*/
|
indev_drv.read_cb =... /*See below.*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user