mirror of
https://github.com/eez-open/lvgl-template-web.git
synced 2026-11-17 05:58:55 +01:00
update flow.cpp
This commit is contained in:
parent
682b7a69c3
commit
94fc1445eb
@ -30,7 +30,6 @@ static lv_obj_t *getLvglObjectFromIndex(int32_t index) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static const void *getLvglImageByName(const char *name) {
|
static const void *getLvglImageByName(const char *name) {
|
||||||
printf("getLvglImageByName %s\n", name);
|
|
||||||
for (size_t imageIndex = 0; imageIndex < sizeof(images) / sizeof(ext_img_desc_t); imageIndex++) {
|
for (size_t imageIndex = 0; imageIndex < sizeof(images) / sizeof(ext_img_desc_t); imageIndex++) {
|
||||||
if (strcmp(images[imageIndex].name, name) == 0) {
|
if (strcmp(images[imageIndex].name, name) == 0) {
|
||||||
return images[imageIndex].img_dsc;
|
return images[imageIndex].img_dsc;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user