mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-02 01:18:04 +08:00
fix(demos): remove unnecessary dependencies (#5390)
This commit is contained in:
committed by
GitHub
parent
c0d2e094cc
commit
13f60d65f5
+1
-8
@@ -6,13 +6,6 @@
|
|||||||
/*********************
|
/*********************
|
||||||
* INCLUDES
|
* INCLUDES
|
||||||
*********************/
|
*********************/
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#include <io.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "lv_demos.h"
|
#include "lv_demos.h"
|
||||||
|
|
||||||
/*********************
|
/*********************
|
||||||
@@ -105,7 +98,7 @@ bool lv_demos_create(char * info[], int size)
|
|||||||
else if(entry_info == NULL && info) {
|
else if(entry_info == NULL && info) {
|
||||||
const char * name = info[0];
|
const char * name = info[0];
|
||||||
for(int i = 0; i < demos_count; i++) {
|
for(int i = 0; i < demos_count; i++) {
|
||||||
if(strcmp(name, demos_entry_info[i].name) == 0) {
|
if(lv_strcmp(name, demos_entry_info[i].name) == 0) {
|
||||||
entry_info = &demos_entry_info[i];
|
entry_info = &demos_entry_info[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user