[zhoulongyu]: ipc工程 适配lvgl模拟器
This commit is contained in:
parent
41f4182c17
commit
8c5e36b4ec
|
@ -6,7 +6,7 @@
|
|||
#ifndef MONITOR_H
|
||||
#define MONITOR_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
#ifdef __cplusplus[]
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#include "../../lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
|
|
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#include "../../lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
#ifndef MONITOR_SDL_INCLUDE_PATH
|
||||
|
|
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#include "../../lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
#ifndef MONITOR_SDL_INCLUDE_PATH
|
||||
|
|
|
@ -26,7 +26,7 @@ extern "C" {
|
|||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#include "../../lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
#ifndef MONITOR_SDL_INCLUDE_PATH
|
||||
|
|
|
@ -261,6 +261,7 @@ static lv_fs_res_t fs_dir_read(lv_fs_drv_t * drv, void * dir_p, char * fn)
|
|||
do {
|
||||
entry = readdir(dir_p);
|
||||
if(entry) {
|
||||
#define DT_DIR 4
|
||||
if(entry->d_type == DT_DIR) sprintf(fn, "/%s", entry->d_name);
|
||||
else strcpy(fn, entry->d_name);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "lvgl/lvgl.h"
|
||||
#include "../../lvgl/lvgl.h"
|
||||
|
||||
const uint8_t mouse_cursor_icon_map[] = {
|
||||
#if LV_COLOR_DEPTH == 1 || LV_COLOR_DEPTH == 8
|
||||
|
|
Loading…
Reference in New Issue
Block a user